aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2012-03-06 12:10:53 +0000
committerConor Curran <conor.curran@canonical.com>2012-03-06 12:10:53 +0000
commit98f37a07e608cd3fb1e86594a536f352a4ef13ff (patch)
tree26c2605d5b10aff2e8f481f1e858b4ce885a7e98 /src
parent53992f3ea796f9c19fe0a57a2c0618fc29d51d98 (diff)
downloadayatana-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.c5
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