diff options
author | Pablo Barciela <[email protected]> | 2018-01-28 23:45:02 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-29 21:56:44 +0100 |
commit | dccc155a7f7627357fa855fa6a61f8d6f8272153 (patch) | |
tree | 305454af32ce58e6196feb5ac24d50779db93610 /src | |
parent | 719cc6f6ba0f0d06b875746c99cf1a51031c35f1 (diff) | |
download | mate-calc-dccc155a7f7627357fa855fa6a61f8d6f8272153.tar.bz2 mate-calc-dccc155a7f7627357fa855fa6a61f8d6f8272153.tar.xz |
Add icon image on close button in preferences dialog
Diffstat (limited to 'src')
-rw-r--r-- | src/math-preferences.c | 4 |
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); |