1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-21 13:28:08 +01:00

More fixes to the themeability of wicd

This commit is contained in:
David Paleino
2012-11-18 09:25:58 +01:00
parent 666a8de503
commit 9e5d6aab25
4 changed files with 16 additions and 19 deletions

View File

@@ -378,9 +378,7 @@ class PreferencesDialog(object):
self.dialog = self.wTree.get_object("pref_dialog")
self.dialog.set_title(_('Preferences'))
if os.path.exists(os.path.join(wpath.images, "wicd.png")):
self.dialog.set_icon_from_file(
os.path.join(wpath.images, "wicd.png"))
self.dialog.set_icon_name('wicd-gtk')
width = int(gtk.gdk.screen_width() / 2.4)
if width > 450:
width = 450