[grilo] grilo-test-ui: Prevent undesired calls to resolve when browsing a category
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] grilo-test-ui: Prevent undesired calls to resolve when browsing a category
- Date: Wed, 23 Oct 2013 09:17:15 +0000 (UTC)
commit b2847d2b1b0c4494ffed1ce78cef6fd57fde138c
Author: Jacobo Aragunde PĂ©rez <jaragunde igalia com>
Date: Fri Oct 18 19:49:42 2013 +0200
grilo-test-ui: Prevent undesired calls to resolve when browsing a category
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
tools/grilo-test-ui/main.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index 564ff8c..9b8f730 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -467,6 +467,9 @@ set_cur_resolve (GrlSource *source, GrlMedia *media)
static void
clear_panes (void)
{
+ /* Prevent undesired cursor-changed signal calls */
+ gtk_tree_view_set_model (GTK_TREE_VIEW (view->browser),
+ NULL);
if (view->browser_model) {
gtk_list_store_clear (GTK_LIST_STORE (view->browser_model));
g_object_unref (view->browser_model);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]