From f8697f9fd3a98d1e6c40291937cf040b306abdf6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Paprota?= Date: Mon, 7 Jul 2008 02:11:58 +0200 Subject: [PATCH] Use the new icon. --- data/straw.svg | 858 +++++++++++++++++++++++++++++++++++++++++++++++++++ straw/Application.py | 4 +- straw/helpers.py | 2 +- 3 files changed, 861 insertions(+), 3 deletions(-) create mode 100644 data/straw.svg diff --git a/data/straw.svg b/data/straw.svg new file mode 100644 index 0000000..f647bef --- /dev/null +++ b/data/straw.svg @@ -0,0 +1,858 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Straw + + + + Kalle Persson + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/straw/Application.py b/straw/Application.py index 313c51c..0dc3362 100644 --- a/straw/Application.py +++ b/straw/Application.py @@ -754,7 +754,7 @@ class Application: # build tray status icon image = gtk.Image() - iconfile = os.path.normpath(straw.defs.STRAW_DATA_DIR + "/straw.png") + iconfile = os.path.normpath(straw.defs.STRAW_DATA_DIR + "/straw.svg") pixbuf = gtk.gdk.pixbuf_new_from_file(iconfile) scaled_buf = pixbuf.scale_simple(16, 16, gtk.gdk.INTERP_BILINEAR) image.set_from_pixbuf(scaled_buf) @@ -801,7 +801,7 @@ class Application: #PollManager.get_instance().start_polling_loop() # set the default icon for the windows - iconfile = os.path.join(straw.defs.STRAW_DATA_DIR, "straw.png") + iconfile = os.path.join(straw.defs.STRAW_DATA_DIR, "straw.svg") gtk.window_set_default_icon(gtk.gdk.pixbuf_new_from_file(iconfile)) start_services() diff --git a/straw/helpers.py b/straw/helpers.py index 3a8f10c..f231f35 100644 --- a/straw/helpers.py +++ b/straw/helpers.py @@ -127,7 +127,7 @@ Special Thanks: Mark Pilgrim (feedparser and feedfinder) Joe Gregorio (httplib2) ''' - iconfile = os.path.join(straw.defs.STRAW_DATA_DIR,"straw.png") + iconfile = os.path.join(straw.defs.STRAW_DATA_DIR,"straw.svg") logo = gtk.gdk.pixbuf_new_from_file(iconfile) description = _("A Desktop Feed Reader") straw_copyright = u""" -- 2.11.4.GIT