[gnome-bluetooth] Update show-search property
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-bluetooth] Update show-search property
- Date: Mon, 15 Jun 2009 13:44:30 -0400 (EDT)
commit 46ec62e42d179ada6254318ce8f37b8f9db6ef65
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jun 15 18:43:43 2009 +0100
Update show-search property
And move the device-category-filter property to GtkBuilder.
wizard/main.c | 3 ---
wizard/wizard.ui | 3 ++-
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/wizard/main.c b/wizard/main.c
index 112b5a2..951118e 100644
--- a/wizard/main.c
+++ b/wizard/main.c
@@ -722,9 +722,6 @@ static GtkAssistant *create_wizard(void)
/* The selector */
selector = BLUETOOTH_CHOOSER (gtk_builder_get_object (builder, "selector"));
- g_object_set (selector,
- "device-category-filter", BLUETOOTH_CATEGORY_NOT_PAIRED_OR_TRUSTED,
- NULL);
/* Setup page */
page_setup = GTK_WIDGET(gtk_builder_get_object(builder, "page_setup"));
diff --git a/wizard/wizard.ui b/wizard/wizard.ui
index 7ce7cde..ae32703 100644
--- a/wizard/wizard.ui
+++ b/wizard/wizard.ui
@@ -71,9 +71,10 @@
<child>
<object class="BluetoothChooser" id="selector">
<property name="title" translatable="yes">Select the device you want to setup</property>
- <property name="show-search">True</property>
+ <property name="show-searching">True</property>
<property name="show-device-type">True</property>
<property name="show-device-category">False</property>
+ <property name="device-category-filter">3</property>
<property name="visible">True</property>
<signal name="selected-device-changed" handler="select_device_changed"/>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]