diff options
author | Ted Gould <ted@gould.cx> | 2011-07-13 14:26:30 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-07-13 14:26:30 -0500 |
commit | 753c2e40e087e49f7d0fe93edb2461d290d972af (patch) | |
tree | f457f26bcc4f8875501b1429d4189221cf5f8858 | |
parent | cfe8a44d153baae7b0f7a015dcd3b04cae98b60a (diff) | |
download | ayatana-indicator-messages-753c2e40e087e49f7d0fe93edb2461d290d972af.tar.gz ayatana-indicator-messages-753c2e40e087e49f7d0fe93edb2461d290d972af.tar.bz2 ayatana-indicator-messages-753c2e40e087e49f7d0fe93edb2461d290d972af.zip |
Off by one error, because, well, this is a computer program and that's what happens.
-rw-r--r-- | src/messages-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 3e89845..63549e3 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -840,7 +840,7 @@ resort_menu (DbusmenuMenuitem * menushell) g_debug("Reordering Menu:"); if (DBUSMENU_IS_MENUITEM(status_separator)) { - position = dbusmenu_menuitem_get_position(status_separator, root_menuitem); + position = dbusmenu_menuitem_get_position(status_separator, root_menuitem) + 1; g_debug("\tPriming with location of status separator: %d", position); } |