diff src/collect.c @ 91:d063f97503b7

Wed Nov 1 11:39:48 2006 John Ellis <johne@verizon.net> * gqview.h, main.c (window_set_icon): Change to use inline pixbufs instead of xpms. * collect.c, img-view.c, layout.c, preferences.c: Use new icons. * pixbuf_util.[ch]: Add new icons. * icons/Makefile.am: Update generated inline pixbufs. * icons/collect.xpm, icons/config.xpm, icons/icon.xpm, icons/tools.xpm, icons/view.xpm: Remove old xpm icons. * icons/gqview_icon.png, icons/icon_book.png, icons/icon_config.png, icons/icon_tools.png, icons/icon_view.png: The new icons in png format. * icons/svg/*.svg: Add svg sources for icons, they are not used or anything, but this way I can not misplace them again.
author gqview
date Wed, 01 Nov 2006 17:47:14 +0000
parents 9d5c75b5ec28
children 50dc5a14d37b
line wrap: on
line diff
--- a/src/collect.c	Tue Oct 31 23:20:48 2006 +0000
+++ b/src/collect.c	Wed Nov 01 17:47:14 2006 +0000
@@ -22,13 +22,13 @@
 #include "info.h"
 #include "layout.h"
 #include "layout_image.h"
+#include "pixbuf_util.h"
 #include "utilops.h"
 #include "ui_fileops.h"
 #include "ui_tree_edit.h"
 
 #include <gdk/gdkkeysyms.h> /* for keyboard values */
 
-#include "icons/collect.xpm"
 
 #define COLLECT_DEF_WIDTH 440
 #define COLLECT_DEF_HEIGHT 450
@@ -1151,7 +1151,7 @@
 	cw->cd = collection_new(path);
 
 	cw->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-	window_set_icon(cw->window, (const gchar **)collect_xpm, NULL);
+	window_set_icon(cw->window, PIXBUF_INLINE_ICON_BOOK, NULL);
 
 	geometry.min_width = 32;
 	geometry.min_height = 32;