summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-28 23:45:02 +0100
committerraveit65 <[email protected]>2018-01-29 21:56:44 +0100
commitdccc155a7f7627357fa855fa6a61f8d6f8272153 (patch)
tree305454af32ce58e6196feb5ac24d50779db93610
parent719cc6f6ba0f0d06b875746c99cf1a51031c35f1 (diff)
downloadmate-calc-dccc155a7f7627357fa855fa6a61f8d6f8272153.tar.bz2
mate-calc-dccc155a7f7627357fa855fa6a61f8d6f8272153.tar.xz
Add icon image on close button in preferences dialog
-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);