r3426 - in trunk/src/target/OM-2007.2/applications/openmoko-appmanager2: . src
thomas at sita.openmoko.org
thomas at sita.openmoko.org
Wed Nov 14 16:48:51 CET 2007
Author: thomas
Date: 2007-11-14 16:48:49 +0100 (Wed, 14 Nov 2007)
New Revision: 3426
Modified:
trunk/src/target/OM-2007.2/applications/openmoko-appmanager2/ChangeLog
trunk/src/target/OM-2007.2/applications/openmoko-appmanager2/src/search-bar.c
Log:
* src/search-bar.c: (text_changed_cb): Remove the model from the
treeview while refiltering
Modified: trunk/src/target/OM-2007.2/applications/openmoko-appmanager2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-appmanager2/ChangeLog 2007-11-14 15:17:17 UTC (rev 3425)
+++ trunk/src/target/OM-2007.2/applications/openmoko-appmanager2/ChangeLog 2007-11-14 15:48:49 UTC (rev 3426)
@@ -1,5 +1,10 @@
-2007-11-14 Michael Lauer <mickey at openmoko.org
+2007-11-14 Thomas Wood <thomas at openedhand.com>
+ * src/search-bar.c: (text_changed_cb): Remove the model from the
+ treeview while refiltering
+
+2007-11-14 Michael Lauer <mickey at openmoko.org>
+
* data/openmoko-appmanager.desktop: remove PIM and Office categories,
add Utilities
Modified: trunk/src/target/OM-2007.2/applications/openmoko-appmanager2/src/search-bar.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-appmanager2/src/search-bar.c 2007-11-14 15:17:17 UTC (rev 3425)
+++ trunk/src/target/OM-2007.2/applications/openmoko-appmanager2/src/search-bar.c 2007-11-14 15:48:49 UTC (rev 3426)
@@ -45,7 +45,11 @@
data->searchbar_needle = needle;
filter = gtk_tree_view_get_model (GTK_TREE_VIEW (data->tvpkglist));
+ g_object_ref (G_OBJECT (filter));
+ gtk_tree_view_set_model (GTK_TREE_VIEW (data->tvpkglist), NULL);
gtk_tree_model_filter_refilter (GTK_TREE_MODEL_FILTER (filter));
+ gtk_tree_view_set_model (GTK_TREE_VIEW (data->tvpkglist), filter);
+ g_object_unref (G_OBJECT (filter));
}
static void
More information about the commitlog
mailing list