[PATCH] Work around problems with live installs and dpi other than 96 (#506512)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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()
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux