projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12bc9f4
)
added icon for changes without warnings
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sat, 26 Jul 2008 18:33:49 +0000
(18:33 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sat, 26 Jul 2008 18:33:49 +0000
(18:33 +0000)
src/utilops.c
patch
|
blob
|
history
diff --git
a/src/utilops.c
b/src/utilops.c
index
752f9d8
..
f2239ac
100644
(file)
--- a/
src/utilops.c
+++ b/
src/utilops.c
@@
-821,6
+821,7
@@
static GdkPixbuf *file_util_get_error_icon(FileData *fd, GtkWidget *widget)
{
static GdkPixbuf *pb_warning;
static GdkPixbuf *pb_error;
+ static GdkPixbuf *pb_apply;
gint error;
if (!pb_warning)
@@
-832,10
+833,15
@@
static GdkPixbuf *file_util_get_error_icon(FileData *fd, GtkWidget *widget)
{
pb_error = gtk_widget_render_icon(widget, GTK_STOCK_DIALOG_ERROR, GTK_ICON_SIZE_MENU, NULL);
}
+
+ if (!pb_apply)
+ {
+ pb_apply = gtk_widget_render_icon(widget, GTK_STOCK_APPLY, GTK_ICON_SIZE_MENU, NULL);
+ }
error = file_data_sc_verify_ci(fd);
- if (!error) return
NULL
;
+ if (!error) return
pb_apply
;
if (error & CHANGE_ERROR_MASK)
{