diff options
Diffstat (limited to 'portato/gui/__init__.py')
-rw-r--r-- | portato/gui/__init__.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/portato/gui/__init__.py b/portato/gui/__init__.py index e3f1172..bbe21d8 100644 --- a/portato/gui/__init__.py +++ b/portato/gui/__init__.py @@ -3,7 +3,7 @@ # File: portato/gui/__init__.py # This file is part of the Portato-Project, a graphical portage-frontend. # -# Copyright (C) 2006-2009 René 'Necoro' Neumann +# Copyright (C) 2006-2010 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of # the GNU General Public License version 2. # There is NO WARRANTY, to the extent permitted by law. @@ -27,9 +27,11 @@ def run (): from .windows.main import MainWindow try: m = MainWindow(s) - s.hide() + s.destroy() + del s + m.main() except PreReqError, e: error("Prerequisite not matched. Aborting.") prereq_error_dialog(e) - s.hide() + s.destroy() |