[gnome-packagekit] Don't hide the restart status icon just because the daemon exited. Fixes rh#553966



commit 3c41a73d6ca5dd91edc14f8d2168b65fcc5c7795
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jan 20 14:53:52 2010 +0000

    Don't hide the restart status icon just because the daemon exited. Fixes rh#553966

 src/gpk-watch.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gpk-watch.c b/src/gpk-watch.c
index 11383a7..900db2c 100644
--- a/src/gpk-watch.c
+++ b/src/gpk-watch.c
@@ -1199,10 +1199,8 @@ gpk_watch_button_cancel_cb (GtkWidget *widget, GpkWatch *watch)
 static void
 gpk_watch_set_connected (GpkWatch *watch, gboolean connected)
 {
-	if (!connected) {
-		gtk_status_icon_set_visible (watch->priv->status_icon, FALSE);
+	if (!connected)
 		return;
-	}
 
 	/* daemon has just appeared */
 	egg_debug ("dameon has just appeared");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]