Preparation to extend navigation to all object types

svn: r13955
This commit is contained in:
Nick Hall
2010-01-01 19:55:09 +00:00
parent 0f78f5c918
commit c43f162b2f
14 changed files with 58 additions and 21 deletions

View File

@@ -38,6 +38,7 @@ import gtk
#-------------------------------------------------------------------------
import gen.lib
import config
from gui.views.navigationview import NAVIGATION_SOURCE
from gui.views.listview import ListView
from gui.views.treemodels import SourceModel
import Utils
@@ -104,6 +105,9 @@ class SourceView(ListView):
config.connect("interface.filter",
self.filter_toggle)
def navigation_type(self):
return NAVIGATION_SOURCE
def column_ord_setfunc(self, clist):
self.dbstate.db.set_source_column_order(clist)