summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-28 23:45:02 +0100
committermonsta <[email protected]>2018-03-13 14:01:54 +0300
commit1e783c9ecde57c5f51ed00b3938db3db0df526d1 (patch)
tree5ae113d00b51f959ad1edc2245632e175a2b537b /src
parente17e4d0e2eba2f6780757531cda40d0b94beba70 (diff)
downloadmate-calc-1e783c9ecde57c5f51ed00b3938db3db0df526d1.tar.bz2
mate-calc-1e783c9ecde57c5f51ed00b3938db3db0df526d1.tar.xz
Add icon image on close button in preferences dialog
Diffstat (limited to 'src')
-rw-r--r--src/math-preferences.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math-preferences.c b/src/math-preferences.c
index d6f4e25..13f5597 100644
--- a/src/math-preferences.c
+++ b/src/math-preferences.c
@@ -238,8 +238,8 @@ create_gui(MathPreferencesDialog *dialog)
_("Preferences"));
gtk_container_set_border_width(GTK_CONTAINER(dialog), 8);
gtk_dialog_add_button(GTK_DIALOG(dialog),
- /* Label on close button in preferences dialog */
- _("_Close"), 0);
+ /* Icon name on close button in preferences dialog */
+ "gtk-close", GTK_RESPONSE_CLOSE);
g_signal_connect(dialog, "response", G_CALLBACK(preferences_response_cb), NULL);
g_signal_connect(dialog, "delete-event", G_CALLBACK(preferences_dialog_delete_cb), NULL);
gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), GET_WIDGET(dialog->priv->ui, "preferences_table"), TRUE, TRUE, 0);