diff src/pixbuf_util.c @ 1398:9e7aed6ba6bd

Display icons in edit contextual menu.
author zas_
date Sun, 08 Mar 2009 14:27:19 +0000
parents 6fb0c1829b76
children a3d3208b0c50
line wrap: on
line diff
--- a/src/pixbuf_util.c	Sun Mar 08 13:23:25 2009 +0000
+++ b/src/pixbuf_util.c	Sun Mar 08 14:27:19 2009 +0000
@@ -166,6 +166,9 @@
 	GError *error = NULL;
 
 	icon_theme = gtk_icon_theme_get_default();
+	
+	if (gtk_icon_theme_has_icon(icon_theme, key)) return FALSE;
+
 	pixbuf = gtk_icon_theme_load_icon(icon_theme,
                            icon, /* icon name */
                            64, /* size */