Commit 883273b9 authored by Morten Welinder's avatar Morten Welinder

Dead kittens: get rid of stock ids here.

parent 5b541d31
2015-01-01 Morten Welinder <terra@gnome.org>
* src/gui-util.c (gnumeric_message_dialog_create): Use icon theme
names, not stock ids.
* src/gnm-pane.c (update_control_point_colors): Avoid
gtk_style_context_get_background_color.
* src/item-cursor.c (ic_reload_style): Ditto.
......
......@@ -1074,22 +1074,22 @@ gnumeric_message_dialog_create (GtkWindow * parent,
default:
g_warning ("Unknown GtkMessageType %d", type);
case GTK_MESSAGE_INFO:
icon_name = GTK_STOCK_DIALOG_INFO;
icon_name = "dialog-information";
title = _("Information");
break;
case GTK_MESSAGE_QUESTION:
icon_name = GTK_STOCK_DIALOG_QUESTION;
icon_name = "dialog-question";
title = _("Question");
break;
case GTK_MESSAGE_WARNING:
icon_name = GTK_STOCK_DIALOG_WARNING;
icon_name = "dialog-warning";
title = _("Warning");
break;
case GTK_MESSAGE_ERROR:
icon_name = GTK_STOCK_DIALOG_ERROR;
icon_name = "dialog-error";
title = _("Error");
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment