aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-13 14:26:30 -0500
committerTed Gould <ted@gould.cx>2011-07-13 14:26:30 -0500
commit753c2e40e087e49f7d0fe93edb2461d290d972af (patch)
treef457f26bcc4f8875501b1429d4189221cf5f8858
parentcfe8a44d153baae7b0f7a015dcd3b04cae98b60a (diff)
downloadayatana-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.c2
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);
}