# HG changeset patch # User nadvornik # Date 1217097229 0 # Node ID 988eff509920b46b117d0455c0d768f18ea5f756 # Parent a53f5141228bd560b84afa2403797f99741d515c added icon for changes without warnings diff -r a53f5141228b -r 988eff509920 src/utilops.c --- a/src/utilops.c Sat Jul 26 18:17:56 2008 +0000 +++ b/src/utilops.c Sat Jul 26 18:33:49 2008 +0000 @@ -821,6 +821,7 @@ { static GdkPixbuf *pb_warning; static GdkPixbuf *pb_error; + static GdkPixbuf *pb_apply; gint error; if (!pb_warning) @@ -832,10 +833,15 @@ { 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) {