diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-08-18 15:19:07 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-08-18 15:19:07 +0100 |
commit | d8d6677e2d184bde9ba5e136ed5c6edf30c20efc (patch) | |
tree | 742524abc17892e4f1fb8551631887116e999260 /src/apt-watcher.c | |
parent | fb32494de9b55663cec088ade6967da349c0cac7 (diff) | |
parent | 95b5c6328bbee9bda1473d8c8af3bbed8eba67f8 (diff) | |
download | ayatana-indicator-session-d8d6677e2d184bde9ba5e136ed5c6edf30c20efc.tar.gz ayatana-indicator-session-d8d6677e2d184bde9ba5e136ed5c6edf30c20efc.tar.bz2 ayatana-indicator-session-d8d6677e2d184bde9ba5e136ed5c6edf30c20efc.zip |
updates item fix and restart awareness plus correct icons
Diffstat (limited to 'src/apt-watcher.c')
-rw-r--r-- | src/apt-watcher.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/apt-watcher.c b/src/apt-watcher.c index 72a63ac..7d706a0 100644 --- a/src/apt-watcher.c +++ b/src/apt-watcher.c @@ -281,8 +281,9 @@ apt_watcher_transaction_state_update_cb (AptTransaction* trans, _("Reboot Required")); session_dbus_restart_required (self->session_dbus_interface); } + g_debug ("Finished with a reboot value of %i", reboot); g_object_unref (G_OBJECT(self->current_transaction)); - self->current_transaction = NULL; + self->current_transaction = NULL; } self->current_state = state; } @@ -327,9 +328,7 @@ static void apt_watcher_signal_cb ( GDBusProxy* proxy, self->current_transaction = apt_transaction_new (input, REAL); g_signal_connect (G_OBJECT(self->current_transaction), "state-update", - G_CALLBACK(apt_watcher_transaction_state_update_cb), self); - - + G_CALLBACK(apt_watcher_transaction_state_update_cb), self); } } g_variant_unref (parameters); |