From: Paweł Paprota Date: Mon, 7 Jul 2008 00:11:58 +0000 (+0200) Subject: Use the new icon. X-Git-Url: https://repo.or.cz/w/straw.git/commitdiff_plain/f8697f9fd3a98d1e6c40291937cf040b306abdf6 Use the new icon. --- 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"""