diff options
author | Jeremy Katz <katzj@redhat.com> | 2009-07-23 14:45:49 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2009-07-23 14:45:49 -0400 |
commit | dbdcd9eb8f6963ce2e6633cbeb797355b59b442d (patch) | |
tree | 5629d6cb76fe499c7e1f8dd4972a63cb030d95f0 /gui.py | |
parent | aaedac0a48967d9b13bdaa06a9504582caff985e (diff) | |
download | anaconda-dbdcd9eb8f6963ce2e6633cbeb797355b59b442d.tar.gz anaconda-dbdcd9eb8f6963ce2e6633cbeb797355b59b442d.tar.xz anaconda-dbdcd9eb8f6963ce2e6633cbeb797355b59b442d.zip |
Work around problems with live installs and dpi other than 96 (#506512)
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
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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() |