summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-14 03:42:53 +0000
committerMatt Wilson <msw@redhat.com>2000-06-14 03:42:53 +0000
commitf400baf625643b4dbeaf5d7213c14d3d7ec655f0 (patch)
tree386b099070c97e9d330b23d3c8b3a06e5010746d /gui.py
parent322a73e5c14be4628efdf0c63e8b55d7d61b911e (diff)
downloadanaconda-f400baf625643b4dbeaf5d7213c14d3d7ec655f0.tar.gz
anaconda-f400baf625643b4dbeaf5d7213c14d3d7ec655f0.tar.xz
anaconda-f400baf625643b4dbeaf5d7213c14d3d7ec655f0.zip
import cleanups
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py22
1 files changed, 5 insertions, 17 deletions
diff --git a/gui.py b/gui.py
index 6a57f0b4b..88cedf669 100755
--- a/gui.py
+++ b/gui.py
@@ -1,4 +1,3 @@
-import gettext_rh
import os
os.environ["PYGTK_FATAL_EXCEPTIONS"] = "1"
from gtk import *
@@ -6,7 +5,6 @@ from gtk import _root_window
from _gtk import gtk_set_locale
import GdkImlib
from GDK import *
-from translate import cat, _
im = None
splashwindow = None
@@ -18,9 +16,6 @@ except:
except:
print "Unable to load", file
if im:
- root = _root_window ()
- cursor = cursor_new (LEFT_PTR)
- root.set_cursor (cursor)
threads_enter ()
im.render ()
splashwindow = GtkWindow ()
@@ -38,29 +33,22 @@ if im:
mainiteration (FALSE)
threads_leave ()
+root = _root_window ()
+cursor = cursor_new (LEFT_PTR)
+root.set_cursor (cursor)
+
+from translate import cat, _
from gnome.ui import *
from gnome.xmhtml import *
-#don't want to do this now because it makes update disk hard
-#from iw.language import *
-#from iw.welcome import *
-#from iw.mouse import *
-#from iw.keyboard import *
-#from iw.installpath import *
-#
-# instead we do (assuming pythonpath set correctly)
-#
from language_gui import *
from welcome_gui import *
from mouse_gui import *
-
from keyboard_gui import *
from installpath_gui import *
import isys
import sys
-
import rpm
-from thread import *
from threading import *
class WaitWindow: