[gnome-bluetooth] lib: Fix potential label mismatch



commit 80f40b69b9874dd5a4917f7d0fcfe6f54c043d56
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jun 12 11:51:23 2012 +0200

    lib: Fix potential label mismatch

 lib/bluetooth-chooser.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index b491c1a..38ac622 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -655,8 +655,10 @@ static void default_adapter_changed (GObject    *gobject,
 
 		/* Start a discovery if it was requested before we
 		 * had an adapter available */
-		if (priv->disco_rq != FALSE)
+		if (priv->disco_rq != FALSE) {
 			bluetooth_chooser_start_discovery (self);
+			set_search_label (self, TRUE);
+		}
 	}
 }
 



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