From b589f2dff4f1e620f78b9461faa30c6cb29c3073 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Thu, 3 Jan 2008 09:10:03 +0000 Subject: [PATCH] * src/ViewManager.py: remove unneeded show, remove tabs 2008-01-02 Benny Malengier svn: r9690 --- ChangeLog | 3 +++ src/ViewManager.py | 9 ++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 707f15b0a..618e38658 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2008-01-02 Benny Malengier + * src/ViewManager.py: remove unneeded show, remove tabs + 2008-01-02 Benny Malengier * src/Filters/SideBar/_PlaceSidebarFilter.py: correct string, bug #1275 diff --git a/src/ViewManager.py b/src/ViewManager.py index b7a293100..ed8f7a01f 100644 --- a/src/ViewManager.py +++ b/src/ViewManager.py @@ -675,7 +675,6 @@ class ViewManager: about.set_documenters(const.documenters) about.set_logo(gtk.gdk.pixbuf_new_from_file(const.splash)) about.set_modal(True) - about.show() about.run() about.destroy() @@ -878,9 +877,9 @@ class ViewManager: self.page_is_changing = False def import_pkg(self, filename): - import ReadPkg - ReadPkg.impData(self.state.db, filename, self.uistate.pulse_progressbar) - self.post_load() + import ReadPkg + ReadPkg.impData(self.state.db, filename, self.uistate.pulse_progressbar) + self.post_load() def import_data(self, obj): if self.state.db.db_is_open: @@ -970,7 +969,7 @@ class ViewManager: self.change_page(None, None) self.actiongroup.set_visible(True) - self.readonlygroup.set_visible(True) + self.readonlygroup.set_visible(True) self.file_loaded = True