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



commit 28f497e185492c282c30e3cc91cab5b7534d733a
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 b0dc829..83ed4f8 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -515,6 +515,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]