File anaconda-fullscreen-widgets.patch of Package anaconda
From d500aba38cc6269a92a9edfe6455e7bc0125bd7e Mon Sep 17 00:00:00 2001
From: Gary Lin <glin@novell.com>
Date: Mon, 19 Jul 2010 11:49:55 +0800
Subject: [PATCH] Set fullscreen mode for the installation widgets
Patch from http://meego.gitorious.org/meego-os-base/installer/commit/56871717503eef40ffdb188c0c832ab43d568d30
---
gui.py | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/gui.py b/gui.py
index 6673888..3d10fba 100755
--- a/gui.py
+++ b/gui.py
@@ -1483,7 +1483,14 @@ class InstallControlWindow:
self.window.set_size_request(-1, -1)
self.window.fullscreen()
else:
- self.window.set_size_request(800, 600)
+ if runningMiniWm():
+ width = gtk.gdk.screen_width()
+ height = gtk.gdk.screen_height()
+ else:
+ width = 800
+ height = 600
+ log.info("CreateWidgets: width=%s, height=%s" %(width, height ))
+ self.window.set_size_request(width, height)
self.window.set_position(gtk.WIN_POS_CENTER_ALWAYS)
# this is kind of poor, but if we're running in the live mode
# and the dpi is something weird, give ourselves as much
--
1.6.0.2