Revert unintentional commit

svn: r14198
This commit is contained in:
Nick Hall 2010-02-03 18:13:09 +00:00
parent 03b41ff8fb
commit 2d47a0e78d

View File

@ -79,7 +79,6 @@ from gui.configure import GrampsPreferences
from gen.db.backup import backup from gen.db.backup import backup
from gen.db.exceptions import DbException from gen.db.exceptions import DbException
from GrampsAboutDialog import GrampsAboutDialog from GrampsAboutDialog import GrampsAboutDialog
from workspace import Workspace
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -931,12 +930,7 @@ class ViewManager(CLIManager):
page_display = page.get_display() page_display = page.get_display()
page_display.show_all() page_display.show_all()
page.post() 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)) gtk.Label(page_title))
self.pages[-1].append(page) self.pages[-1].append(page)
pageid = (pdata.id + '_%i' % nrpage) pageid = (pdata.id + '_%i' % nrpage)