[pan2] added aSYNC behaviour, disabled treeview on search



commit 29edfc3a70c714753fb22a096d3d10f6e3383c96
Author: Heinrich Müller <henmull src gnome org>
Date:   Sat Jun 15 07:36:49 2013 +0200

    added aSYNC behaviour, disabled treeview on search

 pan/gui/search-pane.cc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pan/gui/search-pane.cc b/pan/gui/search-pane.cc
index 45b147e..016ccd6 100644
--- a/pan/gui/search-pane.cc
+++ b/pan/gui/search-pane.cc
@@ -74,6 +74,8 @@ namespace
 
       SearchPane * pane (static_cast<SearchPane*>(user_data));
 
+      gtk_widget_set_sensitive(pane->view(), false);
+
       const int column (1);
       const int row (gtk_combo_box_get_active (c));
       GtkTreeModel * m = gtk_combo_box_get_model (c);
@@ -134,6 +136,7 @@ namespace
 #ifdef HAVE_RSS
     SearchPane* pane (static_cast<SearchPane*>(user_data));
     GtkWidget* view (pane->view());
+    gtk_widget_set_sensitive(view, true);
     GtkListStore* store (pane->store());
 
     GList* list = grss_feed_channel_fetch_all_finish (GRSS_FEED_CHANNEL (source), res, 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]