1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-22 05:48:03 +01:00

Tweak default window sizes

This commit is contained in:
Dan O'Reilly
2009-01-15 01:21:54 -05:00
parent a214a15d24
commit 514facb4aa
3 changed files with 12 additions and 8 deletions

View File

@@ -241,8 +241,10 @@ class appGui(object):
if width > -1 and height > -1:
self.window.resize(int(width), int(height))
else:
self.window.resize(gtk.gdk.screen_width() / 3,
gtk.gdk.screen_height() / 2)
width = int(gtk.gdk.screen_width() / 2)
if width > 530:
width = 530
self.window.resize(width, int(gtk.gdk.screen_height() / 1.7))
dic = { "refresh_clicked" : self.refresh_clicked,
"quit_clicked" : self.exit,