From 59346cf80e2b5b1a94c61f331a23b3188bcb6a6a Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Tue, 13 Mar 2018 15:17:24 +0100 Subject: math-preferences: add window icon to Preferences dialog --- src/math-preferences.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.1