+Mon Jan 22 17:42:29 2007 Søren Sandmann <sandmann@redhat.com>
+
+ * sysprof-icon-32.png
+ * sysprof.c: Add a 32x32 version (also from Diana) of the icon.
+
Mon Jan 22 16:37:12 2007 Søren Sandmann <sandmann@redhat.com>
* sysprof-icon-16/24/48.png:
pixmapsdir = $(datadir)/pixmaps
dist_pkgdata_DATA = sysprof.glade
-dist_pixmaps_DATA = sysprof-icon-16.png sysprof-icon-24.png sysprof-icon-48.png
+dist_pixmaps_DATA = sysprof-icon-16.png sysprof-icon-24.png sysprof-icon-32.png sysprof-icon-48.png
#
# Command line version
const char *icon_files [] = {
PIXMAPDIR "/sysprof-icon-16.png",
PIXMAPDIR "/sysprof-icon-24.png",
+ PIXMAPDIR "/sysprof-icon-32.png",
PIXMAPDIR "/sysprof-icon-48.png",
NULL
};
for (i = 0; icon_files[i] != NULL; ++i)
{
- GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (icon_files[i], NULL);
+ const char *file = icon_files[i];
+ GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (file, NULL);
if (pixbuf)
{
pixbufs = g_list_prepend (pixbufs, pixbuf);
- if (i == 2) /* 48 x 48 */
+ if (i == 3) /* 48 x 48 */
app->icon = g_object_ref (pixbuf);
}
+ else
+ {
+ g_warning ("Could not open %s\n", file);
+ }
}
gtk_window_set_icon_list (GTK_WINDOW (app->main_window), pixbufs);