[gnome-bluetooth/gnome-2-32] Fix visible menu item disappearing after suspend



commit 824f56fa709b4a315e0586b55aa31186d457437a
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Aug 10 02:16:55 2010 +0100

    Fix visible menu item disappearing after suspend
    
    By resetting lock properly when hiding the menu entry (no adapters
    present).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=625957

 applet/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/applet/main.c b/applet/main.c
index 2a1d51b..710e1f9 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -514,6 +514,7 @@ update_discoverability (GtkTreeIter *iter)
 	object = gtk_builder_get_object (xml, "discoverable");
 
 	if (iter == NULL) {
+		discover_lock = FALSE;
 		gtk_action_set_visible (GTK_ACTION (object), FALSE);
 		return;
 	}



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