[gnome-bluetooth] wizard: Hide dialog if the selected device changes
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] wizard: Hide dialog if the selected device changes
- Date: Thu, 13 Jun 2013 14:58:23 +0000 (UTC)
commit e1428aa2b244621417662b37b3dfc572dea94ca2
Author: Gustavo Padovan <gustavo padovan collabora co uk>
Date: Thu May 23 21:06:16 2013 -0300
wizard: Hide dialog if the selected device changes
If the device the user is trying to pair disappears, we should hide its
PIN dialog, otherwise a PIN options dialog from another device will appear.
https://bugzilla.gnome.org/show_bug.cgi?id=701399
wizard/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index d6bb66d..885f6fd 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -750,6 +750,8 @@ select_device_changed (BluetoothChooser *selector,
set_page_search_complete ();
+ gtk_widget_hide (pin_dialog);
+
/* Device was deselected */
if (address == NULL) {
gtk_widget_set_sensitive (pin_option_button, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]