diff options
| author | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-04-18 22:50:19 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-04-18 22:50:19 +0200 |
| commit | 5388aa298e73ac1d09a4ec277df39b8c8fe7b397 (patch) | |
| tree | 190c0a9f529718a34e78c96e2b3c90551ff9cb52 | |
| parent | 02ce954fc3e84712a4c4e886079366081d0e19e1 (diff) | |
| download | python-apt-5388aa298e73ac1d09a4ec277df39b8c8fe7b397.tar.gz | |
* set the default icon of software-properties to the corresponding one
* add jimmac to AUTHORS
* replace the logo in update-manager
| -rw-r--r-- | AUTHORS | 7 | ||||
| -rw-r--r-- | SoftwareProperties/SoftwareProperties.py | 6 | ||||
| -rw-r--r-- | data/UpdateManager.glade | 2 |
3 files changed, 12 insertions, 3 deletions
@@ -10,7 +10,10 @@ Jean Privat <privat@lirmm.fr> Martin Willemoes Hansen <mwh@sysrq.dk> Zygmunt Krynicki <zyga@www.suxx.pl> -Technical Author: -================= +Technical Author +================ Sean Wheller <sean@inwords.co.za> +Icons +===== +Jakub Steiner <jimmac@novell.com> diff --git a/SoftwareProperties/SoftwareProperties.py b/SoftwareProperties/SoftwareProperties.py index aa3114f0..d80781e0 100644 --- a/SoftwareProperties/SoftwareProperties.py +++ b/SoftwareProperties/SoftwareProperties.py @@ -57,6 +57,12 @@ CONF_MAP = { class SoftwareProperties(SimpleGladeApp): def __init__(self, datadir=None, options=None, parent=None): + icons = gtk.icon_theme_get_default() + try: + logo=icons.load_icon("software-properties", 48, 0) + gtk.window_set_default_icon_list(logo) + except: + pass # FIXME: some saner way is needed here if datadir == None: diff --git a/data/UpdateManager.glade b/data/UpdateManager.glade index 525b329c..eb9e034d 100644 --- a/data/UpdateManager.glade +++ b/data/UpdateManager.glade @@ -44,7 +44,7 @@ <child> <widget class="GtkImage" id="image4"> <property name="visible">True</property> - <property name="pixbuf">update-manager-logo.png</property> + <property name="pixbuf">update-manager</property> <property name="xalign">0.5</property> <property name="yalign">0</property> <property name="xpad">0</property> |
