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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user