[Pkg-bazaar-commits] ./bzr-gtk/unstable r527: Remove partial completion support, since I can't find the required functionality in pygtk.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 07:44:38 UTC 2009


------------------------------------------------------------
revno: 527
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Tue 2008-07-01 17:28:30 +0200
message:
  Remove partial completion support, since I can't find the required functionality in pygtk.
modified:
  search.py
-------------- next part --------------
=== modified file 'search.py'
--- a/search.py	2008-07-01 14:52:31 +0000
+++ b/search.py	2008-07-01 15:28:30 +0000
@@ -24,11 +24,6 @@
 from bzrlib.plugins.search import index as _mod_index
 
 
-class SearchCompletion(gtk.EntryCompletion):
-    def __init__(self, index):
-        super(SearchCompletion, self).__init__()
-
-
 class SearchDialog(gtk.Dialog):
     """Search dialog."""
     def __init__(self, branch, parent=None):
@@ -46,7 +41,7 @@
         self.searchbar = gtk.HBox()
         self.searchentry = gtk.Entry()
         self.searchentry.connect('activate', self._searchentry_activate)
-        self.searchentry.set_completion(SearchCompletion(self.index))
+        # TODO: Completion using the bzr-search suggests functionality
         self.searchbar.add(self.searchentry)
         self.vbox.pack_start(self.searchbar, expand=False, fill=False)
 



More information about the Pkg-bazaar-commits mailing list