From 2d47a0e78d79d493d9325b13bd97822148fc2473 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Wed, 3 Feb 2010 18:13:09 +0000 Subject: [PATCH] Revert unintentional commit svn: r14198 --- src/gui/viewmanager.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/gui/viewmanager.py b/src/gui/viewmanager.py index c941082bb..0bdc3ad12 100644 --- a/src/gui/viewmanager.py +++ b/src/gui/viewmanager.py @@ -79,7 +79,6 @@ 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 #------------------------------------------------------------------------- # @@ -931,12 +930,7 @@ class ViewManager(CLIManager): page_display = page.get_display() page_display.show_all() page.post() - - # 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(), + page_no = self.notebook_cat[-1].append_page(page_display, gtk.Label(page_title)) self.pages[-1].append(page) pageid = (pdata.id + '_%i' % nrpage)