diff --git a/hrafn.py b/hrafn.py index 4cd0c3b..372b49c 100755 --- a/hrafn.py +++ b/hrafn.py @@ -635,7 +635,9 @@ parser.add_option('-c' ,'--config', dest="filename", default="~/.hrafn.conf", he parser.add_option('-n' ,'--no-resize', dest="resize", action='store_false', default=True, help="use the default window size instead of the size from the last session") (options, args) = parser.parse_args() -gtk.window_set_default_icon_from_file('ui/icon.svg') +base_icon = gtk.gdk.pixbuf_new_from_file('ui/icon.svg') +icon = base_icon.scale_simple(128, 128, gtk.gdk.INTERP_BILINEAR) +gtk.window_set_default_icon(icon) my_twitter = Hrafn(options.filename, options.resize) gtk.gdk.threads_init()