Allow sort of columns and search as you type in plugin overview window
svn: r11767
This commit is contained in:
parent
e226ebd36d
commit
1fcd510a98
@ -82,12 +82,13 @@ class PluginStatus(ManagedWindow.ManagedWindow):
|
|||||||
self.list.append_column(
|
self.list.append_column(
|
||||||
gtk.TreeViewColumn(_('Status'), gtk.CellRendererText(),
|
gtk.TreeViewColumn(_('Status'), gtk.CellRendererText(),
|
||||||
markup=0))
|
markup=0))
|
||||||
self.list.append_column(
|
col1 = gtk.TreeViewColumn(_('File'), gtk.CellRendererText(), text=1)
|
||||||
gtk.TreeViewColumn(_('File'), gtk.CellRendererText(),
|
col1.set_sort_column_id(1)
|
||||||
text=1))
|
self.list.append_column(col1)
|
||||||
self.list.append_column(
|
col2 = gtk.TreeViewColumn(_('Message'), gtk.CellRendererText(), text=2)
|
||||||
gtk.TreeViewColumn(_('Message'), gtk.CellRendererText(),
|
col2.set_sort_column_id(2)
|
||||||
text=2))
|
self.list.append_column(col2)
|
||||||
|
self.list.set_search_column(1)
|
||||||
|
|
||||||
scrolled_window.add(self.list)
|
scrolled_window.add(self.list)
|
||||||
self.window.vbox.add(scrolled_window)
|
self.window.vbox.add(scrolled_window)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user