Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add missing window icon to About dialogs
  • Loading branch information
monsta committed Mar 17, 2018
1 parent c40f708 commit 1e3fbac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions applets/brightness/brightness-applet.c
Expand Up @@ -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);

Expand Down
2 changes: 2 additions & 0 deletions applets/inhibit/inhibit-applet.c
Expand Up @@ -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);

Expand Down
1 change: 1 addition & 0 deletions src/gpm-tray-icon.c
Expand Up @@ -193,6 +193,7 @@ gpm_tray_icon_show_about_cb (GtkMenuItem *item, gpointer data)
* box to give credit to the translator(s).
*/
"translator-credits", _("translator-credits"),
"icon-name", "mate-power-manager",
"logo-icon-name", "mate-power-manager",
"website", "http://www.mate-desktop.org",
NULL);
Expand Down

0 comments on commit 1e3fbac

Please sign in to comment.