diff options
author | Ted Gould <ted@gould.cx> | 2011-07-22 12:15:00 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-07-22 12:15:00 -0500 |
commit | 3fc0ec76ff87ba2249171a0dc5527b876df584c3 (patch) | |
tree | d9b1e84a6e239b65459a73af18182e38690101a0 | |
parent | 6fdaf03987ca48e4ca6683c472405f1e44ff60c5 (diff) | |
download | ayatana-indicator-messages-3fc0ec76ff87ba2249171a0dc5527b876df584c3.tar.gz ayatana-indicator-messages-3fc0ec76ff87ba2249171a0dc5527b876df584c3.tar.bz2 ayatana-indicator-messages-3fc0ec76ff87ba2249171a0dc5527b876df584c3.zip |
Make sure clear attention stays at the end
-rw-r--r-- | src/messages-service.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 692960d..f0ccc80 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -965,6 +965,11 @@ resort_menu (DbusmenuMenuitem * menushell) launcherentry = launcherentry->next; } + if (clear_attention != NULL) { + dbusmenu_menuitem_child_reorder(DBUSMENU_MENUITEM(menushell), clear_attention, position); + position++; /* Not needed, but reduce bugs on code tacked on here, compiler will remove */ + } + return; } |