diff options
author | Conor Curran <conor.curran@canonical.com> | 2012-03-06 12:10:53 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2012-03-06 12:10:53 +0000 |
commit | 98f37a07e608cd3fb1e86594a536f352a4ef13ff (patch) | |
tree | 26c2605d5b10aff2e8f481f1e858b4ce885a7e98 /src | |
parent | 53992f3ea796f9c19fe0a57a2c0618fc29d51d98 (diff) | |
download | ayatana-indicator-session-98f37a07e608cd3fb1e86594a536f352a4ef13ff.tar.gz ayatana-indicator-session-98f37a07e608cd3fb1e86594a536f352a4ef13ff.tar.bz2 ayatana-indicator-session-98f37a07e608cd3fb1e86594a536f352a4ef13ff.zip |
make sure to change the icon on the panel when we get a restart signal from package kit
Diffstat (limited to 'src')
-rw-r--r-- | src/apt-watcher.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/apt-watcher.c b/src/apt-watcher.c index b62354a..c638a93 100644 --- a/src/apt-watcher.c +++ b/src/apt-watcher.c @@ -122,8 +122,9 @@ static void apt_watcher_signal_cb ( GDBusProxy* proxy, _("Restart to Complete Updates…")); dbusmenu_menuitem_property_set (self->apt_item, DBUSMENU_MENUITEM_PROP_DISPOSITION, - DBUSMENU_MENUITEM_DISPOSITION_ALERT); - } + DBUSMENU_MENUITEM_DISPOSITION_ALERT); + session_dbus_restart_required (self->session_dbus_interface); + } } static void |