aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-31 18:20:08 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-31 18:20:08 +0100
commitb8b29748d3346c1cabf7ccac301158c709e56f39 (patch)
tree5321a7085b3a4d135d15488a8505c51fa07e54fe /src
parent5f9ec570e2e9552273a9a7b4c15cc4f6ce03a3ab (diff)
downloadayatana-indicator-session-b8b29748d3346c1cabf7ccac301158c709e56f39.tar.gz
ayatana-indicator-session-b8b29748d3346c1cabf7ccac301158c709e56f39.tar.bz2
ayatana-indicator-session-b8b29748d3346c1cabf7ccac301158c709e56f39.zip
set the menuitem's disposition back to normal just in case
Diffstat (limited to 'src')
-rw-r--r--src/apt-watcher.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/apt-watcher.c b/src/apt-watcher.c
index d19dc4f..f5c9d55 100644
--- a/src/apt-watcher.c
+++ b/src/apt-watcher.c
@@ -341,6 +341,10 @@ apt_watcher_query_reboot_status (gpointer data)
dbusmenu_menuitem_property_set (self->apt_item,
DBUSMENU_MENUITEM_PROP_LABEL,
_("Software Up to Date"));
+ dbusmenu_menuitem_property_set (self->apt_item,
+ DBUSMENU_MENUITEM_PROP_DISPOSITION,
+ DBUSMENU_MENUITEM_DISPOSITION_NORMAL);
+
}
else{
dbusmenu_menuitem_property_set (self->apt_item,