/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to search.py

  • Committer: Jelmer Vernooij
  • Date: 2008-07-01 15:28:30 UTC
  • Revision ID: jelmer@samba.org-20080701152830-bjpita4i0eq69jt0
Remove partial completion support, since I can't find the required functionality in pygtk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from bzrlib.plugins.search import index as _mod_index
25
25
 
26
26
 
27
 
class SearchCompletion(gtk.EntryCompletion):
28
 
    def __init__(self, index):
29
 
        super(SearchCompletion, self).__init__()
30
 
 
31
 
 
32
27
class SearchDialog(gtk.Dialog):
33
28
    """Search dialog."""
34
29
    def __init__(self, branch, parent=None):
46
41
        self.searchbar = gtk.HBox()
47
42
        self.searchentry = gtk.Entry()
48
43
        self.searchentry.connect('activate', self._searchentry_activate)
49
 
        self.searchentry.set_completion(SearchCompletion(self.index))
 
44
        # TODO: Completion using the bzr-search suggests functionality
50
45
        self.searchbar.add(self.searchentry)
51
46
        self.vbox.pack_start(self.searchbar, expand=False, fill=False)
52
47