aboutsummaryrefslogtreecommitdiff
path: root/src/apt-watcher.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2012-03-06 12:21:29 +0000
committerConor Curran <conor.curran@canonical.com>2012-03-06 12:21:29 +0000
commit0f7af17c1ddb6f1b031135c6d0b0aaaeb0a86d29 (patch)
tree26c2605d5b10aff2e8f481f1e858b4ce885a7e98 /src/apt-watcher.c
parent53992f3ea796f9c19fe0a57a2c0618fc29d51d98 (diff)
parent98f37a07e608cd3fb1e86594a536f352a4ef13ff (diff)
downloadayatana-indicator-session-0f7af17c1ddb6f1b031135c6d0b0aaaeb0a86d29.tar.gz
ayatana-indicator-session-0f7af17c1ddb6f1b031135c6d0b0aaaeb0a86d29.tar.bz2
ayatana-indicator-session-0f7af17c1ddb6f1b031135c6d0b0aaaeb0a86d29.zip
merge the icon change fix
Diffstat (limited to 'src/apt-watcher.c')
-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