-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 23 Jul 2009, Jeremy Katz wrote:
On the live install, we don't force the DPI to 96. Some of our text
takes a bit of space, especially the autopart screen. So if we're on a live
install (eg, without mini-wm running), let's just always get rid of the
little header image. It doesn't really buy us much and then we
get more real estate to work with.
Longer term, we probably need to move away from the fixed window
size stuff, even though it'll be painful
---
gui.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gui.py b/gui.py
index 4def03f..3d75ae1 100755
--- a/gui.py
+++ b/gui.py
@@ -1513,6 +1513,12 @@ class InstallControlWindow:
else:
self.window.set_size_request(800, 600)
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
+ # space as we can. this gets things to fit with a dpi
+ # of up to 147
+ if not runningMiniWm():
+ i.hide()
if flags.debug:
self.mainxml.get_widget("debugButton").show_now()
I'm ok with this for now.
- --
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkppBJ8ACgkQ5hsjjIy1Vkk8JgCg525WNREEuNWQqKSqUktmD474
QV0An1qfbiXLk0CBtGZXRFHk4c4GIcpf
=18eF
-----END PGP SIGNATURE-----
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list