[gnome-bluetooth] Fix assertion pairing a GPS device
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-bluetooth] Fix assertion pairing a GPS device
- Date: Fri, 19 Jun 2009 05:41:08 -0400 (EDT)
commit 4de54f7ced0a4ea7ea15e76fb10a8ae1cf8e1329
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 19 10:40:19 2009 +0100
Fix assertion pairing a GPS device
wizard/main.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 372337f..b06686e 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -158,7 +158,11 @@ pincode_callback (DBusGMethodInvocation *context,
DBusGProxy *device,
gpointer user_data)
{
- gtk_assistant_set_current_page (window_assistant, PAGE_SETUP);
+ target_ssp = FALSE;
+
+ /* Only show the pincode page if the pincode isn't automatic */
+ if (automatic_pincode == FALSE)
+ gtk_assistant_set_current_page (window_assistant, PAGE_SETUP);
dbus_g_method_return(context, pincode);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]