diff options
author | Pablo Barciela <[email protected]> | 2018-01-28 23:45:02 +0100 |
---|---|---|
committer | monsta <[email protected]> | 2018-03-13 14:01:54 +0300 |
commit | 1e783c9ecde57c5f51ed00b3938db3db0df526d1 (patch) | |
tree | 5ae113d00b51f959ad1edc2245632e175a2b537b | |
parent | e17e4d0e2eba2f6780757531cda40d0b94beba70 (diff) | |
download | mate-calc-1e783c9ecde57c5f51ed00b3938db3db0df526d1.tar.bz2 mate-calc-1e783c9ecde57c5f51ed00b3938db3db0df526d1.tar.xz |
Add icon image on close button in preferences dialog
-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); |