summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorbfox <bfox>2000-11-01 19:10:14 +0000
committerbfox <bfox>2000-11-01 19:10:14 +0000
commit1ddca04b277f6034c210be1871298fbb40c92e15 (patch)
treec46d6a13aee5de71bb82a8e558dec2e5ecca065b /gui.py
parent3c6486ebaac699cd488975f8db96e242faf43daa (diff)
downloadanaconda-1ddca04b277f6034c210be1871298fbb40c92e15.tar.gz
anaconda-1ddca04b277f6034c210be1871298fbb40c92e15.tar.xz
anaconda-1ddca04b277f6034c210be1871298fbb40c92e15.zip
Re-enabled 800x600 mode
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py34
1 files changed, 17 insertions, 17 deletions
diff --git a/gui.py b/gui.py
index 5d7c47c9e..03af261dc 100755
--- a/gui.py
+++ b/gui.py
@@ -563,10 +563,10 @@ class InstallControlWindow:
self.window = GtkWindow ()
self.window.set_events (KEY_RELEASE_MASK)
- self.window.set_default_size (640, 480)
- self.window.set_usize (640, 480)
-# self.window.set_default_size (800, 600)
-# self.window.set_usize (800, 600)
+# self.window.set_default_size (640, 480)
+# self.window.set_usize (640, 480)
+ self.window.set_default_size (800, 600)
+ self.window.set_usize (800, 600)
cursor = cursor_new (LEFT_PTR)
_root_window ().set_cursor (cursor)
@@ -606,22 +606,22 @@ class InstallControlWindow:
vbox = GtkVBox (FALSE, 10)
#Create header at the top of the installer
-# try:
-# pix, msk = create_pixmap_from_xpm(self.window, None, "/usr/share/anaconda/pixmaps/anaconda_header.xpm")
-# pixmap = GtkPixmap(pix, msk)
-# pixmap.show()
-# vbox.pack_start(pixmap, FALSE, TRUE, 0)
+ try:
+ pix, msk = create_pixmap_from_xpm(self.window, None, "/usr/share/anaconda/pixmaps/anaconda_header.xpm")
+ pixmap = GtkPixmap(pix, msk)
+ pixmap.show()
+ vbox.pack_start(pixmap, FALSE, TRUE, 0)
# im = GdkImlib.Image ("/usr/share/anaconda/pixmaps/first.png")
-# except:
-# try:
-# pix, msk = create_pixmap_from_xpm(self.window, None, "pixmaps/anaconda_header.xpm")
-# pixmap = GtkPixmap(pix, msk)
-# pixmap.show()
-# vbox.pack_start(pixmap, FALSE, TRUE, 0)
+ except:
+ try:
+ pix, msk = create_pixmap_from_xpm(self.window, None, "pixmaps/anaconda_header.xpm")
+ pixmap = GtkPixmap(pix, msk)
+ pixmap.show()
+ vbox.pack_start(pixmap, FALSE, TRUE, 0)
# im = GdkImlib.Image ("pixmaps/first.png")
-# except:
-# print "Unable to load", file
+ except:
+ print "Unable to load", file
vbox.set_spacing(0)