Fix bug where handle column not defined consistently between view and model

svn: r14197
This commit is contained in:
Nick Hall
2010-02-03 16:33:12 +00:00
parent be4e299638
commit 03b41ff8fb
2 changed files with 13 additions and 7 deletions

View File

@@ -79,6 +79,7 @@ from gui.configure import GrampsPreferences
from gen.db.backup import backup
from gen.db.exceptions import DbException
from GrampsAboutDialog import GrampsAboutDialog
from workspace import Workspace
#-------------------------------------------------------------------------
#
@@ -930,7 +931,12 @@ class ViewManager(CLIManager):
page_display = page.get_display()
page_display.show_all()
page.post()
page_no = self.notebook_cat[-1].append_page(page_display,
# create a workspace and add the view to it
ws = Workspace()
ws.add_view(page_display)
page_no = self.notebook_cat[-1].append_page(ws.get_display(),
gtk.Label(page_title))
self.pages[-1].append(page)
pageid = (pdata.id + '_%i' % nrpage)