gnome-bluetooth r533 - trunk/common
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-bluetooth r533 - trunk/common
- Date: Mon, 23 Mar 2009 18:11:51 +0000 (UTC)
Author: hadess
Date: Mon Mar 23 18:11:51 2009
New Revision: 533
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=533&view=rev
Log:
Fix the wizard not setting the page to complete when the device name wasn't available when first selected
Modified:
trunk/common/bluetooth-chooser.c
Modified: trunk/common/bluetooth-chooser.c
==============================================================================
--- trunk/common/bluetooth-chooser.c (original)
+++ trunk/common/bluetooth-chooser.c Mon Mar 23 18:11:51 2009
@@ -467,6 +467,8 @@
gtk_tree_model_filter_set_visible_func (GTK_TREE_MODEL_FILTER (priv->filter),
filter_func, self, NULL);
gtk_tree_view_set_model (GTK_TREE_VIEW(priv->treeview), priv->filter);
+ g_signal_connect (priv->filter, "row-changed",
+ G_CALLBACK (device_model_row_changed), self);
g_object_unref (priv->filter);
gtk_widget_set_sensitive (GTK_WIDGET (priv->treeview), TRUE);
gtk_widget_set_sensitive (GTK_WIDGET(priv->search_button), TRUE);
@@ -477,9 +479,6 @@
bluetooth_chooser_start_discovery (self);
priv->disco_rq = FALSE;
}
-
- g_signal_connect (priv->adapter_model, "row-changed",
- G_CALLBACK (device_model_row_changed), self);
}
}
@@ -556,10 +555,9 @@
gtk_tree_model_filter_set_visible_func (GTK_TREE_MODEL_FILTER (priv->filter),
filter_func, self, NULL);
gtk_tree_view_set_model (GTK_TREE_VIEW(tree), priv->filter);
- g_object_unref (priv->filter);
-
- g_signal_connect (priv->adapter_model, "row-changed",
+ g_signal_connect (priv->filter, "row-changed",
G_CALLBACK (device_model_row_changed), self);
+ g_object_unref (priv->filter);
} else {
gtk_widget_set_sensitive (GTK_WIDGET (tree), FALSE);
gtk_widget_set_sensitive (GTK_WIDGET (priv->search_button), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]