diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-08-23 18:17:54 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-08-23 18:17:54 +0100 |
commit | 430f5bce4eef7194f260496a31a18c24e16969b4 (patch) | |
tree | 4c8f9439127c35224dca279ed3c0ffa9e266225c /src/apt-watcher.c | |
parent | c8335dabc0de12258ff397924e264cc02ae86554 (diff) | |
download | ayatana-indicator-session-430f5bce4eef7194f260496a31a18c24e16969b4.tar.gz ayatana-indicator-session-430f5bce4eef7194f260496a31a18c24e16969b4.tar.bz2 ayatana-indicator-session-430f5bce4eef7194f260496a31a18c24e16969b4.zip |
set the alert state on the apt item when reboot is required
Diffstat (limited to 'src/apt-watcher.c')
-rw-r--r-- | src/apt-watcher.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apt-watcher.c b/src/apt-watcher.c index 7d706a0..a4298a8 100644 --- a/src/apt-watcher.c +++ b/src/apt-watcher.c @@ -279,6 +279,9 @@ apt_watcher_transaction_state_update_cb (AptTransaction* trans, dbusmenu_menuitem_property_set (self->apt_item, DBUSMENU_MENUITEM_PROP_LABEL, _("Reboot Required")); + dbusmenu_menuitem_property_set (self->apt_item, + DBUSMENU_MENUITEM_PROP_DISPOSITION, + DBUSMENU_MENUITEM_DISPOSITION_ALERT); session_dbus_restart_required (self->session_dbus_interface); } g_debug ("Finished with a reboot value of %i", reboot); |