aboutsummaryrefslogtreecommitdiff
path: root/src/apt-watcher.c
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-03-08 14:28:01 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2012-03-08 14:28:01 +0100
commit9e862f15a1f4a86a0a5215c27d6d71905efebfd5 (patch)
tree2068a9c9c1849a521d4095d62feb78dba09613f9 /src/apt-watcher.c
parent6f222333dd2c85a8023ed0e4b05c6ff7f74f3731 (diff)
downloadayatana-indicator-session-9e862f15a1f4a86a0a5215c27d6d71905efebfd5.tar.gz
ayatana-indicator-session-9e862f15a1f4a86a0a5215c27d6d71905efebfd5.tar.bz2
ayatana-indicator-session-9e862f15a1f4a86a0a5215c27d6d71905efebfd5.zip
src/apt-watcher.c: remove no longer needed code, this RestartRequired is a bit misleading as it about that the PK daemon got restarted not about system or session
Diffstat (limited to 'src/apt-watcher.c')
-rw-r--r--src/apt-watcher.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/apt-watcher.c b/src/apt-watcher.c
index 73ebdb9..092942f 100644
--- a/src/apt-watcher.c
+++ b/src/apt-watcher.c
@@ -130,16 +130,6 @@ static void apt_watcher_signal_cb ( GDBusProxy* proxy,
g_debug ("updates changed signal received");
apt_watcher_check_for_updates (self);
}
- else if (g_strcmp0(signal_name, "RestartSchedule") == 0) {
- g_debug ("RestartScheduled signal received");
- dbusmenu_menuitem_property_set (self->apt_item,
- DBUSMENU_MENUITEM_PROP_LABEL,
- _("Restart to Complete Updates…"));
- dbusmenu_menuitem_property_set (self->apt_item,
- DBUSMENU_MENUITEM_PROP_DISPOSITION,
- DBUSMENU_MENUITEM_DISPOSITION_ALERT);
- session_dbus_restart_required (self->session_dbus_interface);
- }
}
static void