Skip to content

Commit 1e3fbac

Browse files
committed
add missing window icon to About dialogs
1 parent c40f708 commit 1e3fbac

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

‎applets/brightness/brightness-applet.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,8 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data)
836836
gtk_about_dialog_set_license (about, license_trans);
837837
gtk_about_dialog_set_website (about, "http://www.mate-desktop.org/");
838838

839+
gtk_window_set_icon_name (GTK_WINDOW (about), GPM_BRIGHTNESS_APPLET_ICON);
840+
839841
g_signal_connect (G_OBJECT(about), "response",
840842
G_CALLBACK(gtk_widget_destroy), NULL);
841843

‎applets/inhibit/inhibit-applet.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data)
403403
gtk_about_dialog_set_license (about, license_trans);
404404
gtk_about_dialog_set_website (about, "http://www.mate-desktop.org/");
405405

406+
gtk_window_set_icon_name (GTK_WINDOW (about), GPM_INHIBIT_APPLET_ICON_INHIBIT);
407+
406408
g_signal_connect (G_OBJECT(about), "response",
407409
G_CALLBACK(gtk_widget_destroy), NULL);
408410

‎src/gpm-tray-icon.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ gpm_tray_icon_show_about_cb (GtkMenuItem *item, gpointer data)
193193
* box to give credit to the translator(s).
194194
*/
195195
"translator-credits", _("translator-credits"),
196+
"icon-name", "mate-power-manager",
196197
"logo-icon-name", "mate-power-manager",
197198
"website", "http://www.mate-desktop.org",
198199
NULL);

0 commit comments

Comments
 (0)