11use-theme-icon-for-win.patch

Julien Lavergne, 08/28/2012 03:50 AM

Download (937 Bytes)

View differences:

sylpheed-3.2.0/src/main.c 2012-08-24 01:02:42.000000000 +0200
301 301
	gtk_window_set_default_icon_list(iconlist);
302 302
	g_list_free(iconlist);
303 303
#else
304
	stock_pixbuf_gdk(NULL, STOCK_PIXMAP_SYLPHEED, &icon);
305
	gtk_window_set_default_icon(icon);
304
    if (gtk_icon_theme_has_icon(gtk_icon_theme_get_default(), "sylpheed"))
305
    {
306
        gtk_window_set_default_icon_name("sylpheed");
307
    }
308
    else
309
    {
310
	    stock_pixbuf_gdk(NULL, STOCK_PIXMAP_SYLPHEED, &icon);
311
	    gtk_window_set_default_icon(icon);
312
    }
306 313
#endif
307 314

  
308 315
	mainwin = main_window_create