From cee3e7bb5f6a34b7d10ad90f9606d8e178e81d0f Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Thu, 20 Oct 2011 15:03:46 +0000 Subject: Disable the search entry in the activities list view and in the Journal - SL #3205 If not disabled, a entry appear over the treeview at bottom, right when the user type something and the widget have focus. The ObjectChooser use the same object than the Journal. Signed-off-by: Gonzalo Odiard Acked-by: Simon Schampijer --- diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py index b3b1f9d..7bf0960 100644 --- a/src/jarabe/desktop/activitieslist.py +++ b/src/jarabe/desktop/activitieslist.py @@ -116,6 +116,7 @@ class ActivitiesTreeView(gtk.TreeView): self.append_column(column) self.set_search_column(ListModel.COLUMN_TITLE) + self.set_enable_search(False) def __erase_activated_cb(self, cell_renderer, bundle_id): self.emit('erase-activated', bundle_id) diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py index a0ceccc..57836f2 100644 --- a/src/jarabe/journal/listview.py +++ b/src/jarabe/journal/listview.py @@ -44,6 +44,7 @@ class TreeView(gtk.TreeView): def __init__(self): gtk.TreeView.__init__(self) self.set_headers_visible(False) + self.set_enable_search(False) def do_size_request(self, requisition): # HACK: We tell the model that the view is just resizing so it can -- cgit v0.9.1