diff options
author | monsta <[email protected]> | 2018-03-17 20:24:56 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2018-03-17 20:27:51 +0300 |
commit | 1e3fbac2d753a57db83080655bdacbb2f18addb0 (patch) | |
tree | da7e8dcf9fa1b23f8906b8bfb22f2d895349321e /applets | |
parent | c40f708e9c60194f060bca34fc512372096e5131 (diff) | |
download | mate-power-manager-1e3fbac2d753a57db83080655bdacbb2f18addb0.tar.bz2 mate-power-manager-1e3fbac2d753a57db83080655bdacbb2f18addb0.tar.xz |
add missing window icon to About dialogs
Diffstat (limited to 'applets')
-rw-r--r-- | applets/brightness/brightness-applet.c | 2 | ||||
-rw-r--r-- | applets/inhibit/inhibit-applet.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index 0f1dd77..5549132 100644 --- a/applets/brightness/brightness-applet.c +++ b/applets/brightness/brightness-applet.c @@ -836,6 +836,8 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data) gtk_about_dialog_set_license (about, license_trans); gtk_about_dialog_set_website (about, "http://www.mate-desktop.org/"); + gtk_window_set_icon_name (GTK_WINDOW (about), GPM_BRIGHTNESS_APPLET_ICON); + g_signal_connect (G_OBJECT(about), "response", G_CALLBACK(gtk_widget_destroy), NULL); diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c index a5c862a..52c4078 100644 --- a/applets/inhibit/inhibit-applet.c +++ b/applets/inhibit/inhibit-applet.c @@ -403,6 +403,8 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data) gtk_about_dialog_set_license (about, license_trans); gtk_about_dialog_set_website (about, "http://www.mate-desktop.org/"); + gtk_window_set_icon_name (GTK_WINDOW (about), GPM_INHIBIT_APPLET_ICON_INHIBIT); + g_signal_connect (G_OBJECT(about), "response", G_CALLBACK(gtk_widget_destroy), NULL); |