Upgraded Source and Citation reference Quick Views to work with citations (actually, for citationtreeview, this is a source_or_citation reference, to avoid having to change the way listview calls the pop up menu items).
Also minimal changes to SimpleAccess and SimpleTable to support these references views. svn: r18447
This commit is contained in:
@@ -47,7 +47,7 @@ import gtk
|
||||
#-------------------------------------------------------------------------
|
||||
from gui.views.listview import LISTTREE
|
||||
from gui.views.treemodels.citationtreemodel import CitationTreeModel
|
||||
from gen.plug import CATEGORY_QR_SOURCE
|
||||
from gen.plug import CATEGORY_QR_SOURCE_OR_CITATION
|
||||
import gen.lib
|
||||
from gui.views.listview import ListView
|
||||
import Utils
|
||||
@@ -112,7 +112,7 @@ class CitationTreeView(ListView):
|
||||
DEL_MSG = _("Delete the selected citation or source")
|
||||
MERGE_MSG = _("Merge the selected citations or selected sources")
|
||||
FILTER_TYPE = "Citation"
|
||||
QR_CATEGORY = CATEGORY_QR_SOURCE
|
||||
QR_CATEGORY = CATEGORY_QR_SOURCE_OR_CITATION
|
||||
|
||||
def __init__(self, pdata, dbstate, uistate, nav_group=0):
|
||||
|
||||
|
Reference in New Issue
Block a user