Comment 3 for bug 1264147

Revision history for this message
Martin Geier (martingt89-j) wrote :

I think main problem is in GdkPixbuf *get_gdk_pixbuf(const gchar *name, int size=16); declarated in rgutils.h, this function loads icon from theme with default size 16x16.

In rgmainwindow.cc and some other places is called this function as get_gdk_pixbuf( "synaptic" ); and then use icon in gtk_window_set_icon(GTK_WINDOW(_win), icon);

gtk_window_set_icon set _NET_WM_ICON property.

I think, the simplest way is set default size to higher resolution eg 64x64. But, I think, correct way is use gtk_window_set_icon_list instead gtk_window_set_icon, and defined function that loads all posible resolutions - eg. gtk_icon_theme_list_icons ();