aboutsummaryrefslogtreecommitdiff
path: root/src/apt-watcher.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-18 15:19:07 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-18 15:19:07 +0100
commitd8d6677e2d184bde9ba5e136ed5c6edf30c20efc (patch)
tree742524abc17892e4f1fb8551631887116e999260 /src/apt-watcher.c
parentfb32494de9b55663cec088ade6967da349c0cac7 (diff)
parent95b5c6328bbee9bda1473d8c8af3bbed8eba67f8 (diff)
downloadayatana-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.c7
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);