diff options
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-ng.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libindicator/indicator-ng.c b/libindicator/indicator-ng.c index 8d3304b..a502c50 100644 --- a/libindicator/indicator-ng.c +++ b/libindicator/indicator-ng.c @@ -567,6 +567,9 @@ indicator_ng_load_from_keyfile (IndicatorNg *self, self->menu_object_path = g_key_file_get_string (keyfile, self->profile, "ObjectPath", error); if (self->menu_object_path == NULL) return FALSE; + + /* a position in the profile overrides the global one */ + self->position = g_key_file_maybe_get_integer (keyfile, self->profile, "Position", self->position); } return TRUE; |