Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2011-10-20 15:03:46 (GMT)
committer Simon Schampijer <simon@schampijer.de>2011-11-16 16:15:26 (GMT)
commitcee3e7bb5f6a34b7d10ad90f9606d8e178e81d0f (patch)
tree2a6af5aee4279497310d2b29b75648a31c0926a9
parentb1edd241b928b4a681ca3b2bfd6fc30feeffa426 (diff)
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 <gonzalo@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r--src/jarabe/desktop/activitieslist.py1
-rw-r--r--src/jarabe/journal/listview.py1
2 files changed, 2 insertions, 0 deletions
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