summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-03-13 15:17:24 +0100
committerPablo Barciela <[email protected]>2018-03-13 15:17:24 +0100
commitfceb9a70675f20198ccdd09dbd9f1465cc139690 (patch)
tree5158651c43e95ac449e6136e12d10a72d6e30bd7 /src
parente29978c473b30f1331fe5f22fd9f1b7412d998fc (diff)
downloadmate-calc-fceb9a70675f20198ccdd09dbd9f1465cc139690.tar.bz2
mate-calc-fceb9a70675f20198ccdd09dbd9f1465cc139690.tar.xz
math-preferences: add window icon to Preferences dialog
Diffstat (limited to 'src')
-rw-r--r--src/math-preferences.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math-preferences.c b/src/math-preferences.c
index 13f5597..4fbb214 100644
--- a/src/math-preferences.c
+++ b/src/math-preferences.c
@@ -240,6 +240,9 @@ create_gui(MathPreferencesDialog *dialog)
gtk_dialog_add_button(GTK_DIALOG(dialog),
/* Icon name on close button in preferences dialog */
"gtk-close", GTK_RESPONSE_CLOSE);
+
+ gtk_window_set_icon_name (GTK_WINDOW(dialog), "accessories-calculator");
+
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);