Skip to content
Permalink
Browse files

add missing window icon to About dialogs

  • Loading branch information...
monsta committed Mar 17, 2018
1 parent c40f708 commit 1e3fbac2d753a57db83080655bdacbb2f18addb0
Showing with 5 additions and 0 deletions.
  1. +2 −0 applets/brightness/brightness-applet.c
  2. +2 −0 applets/inhibit/inhibit-applet.c
  3. +1 −0 src/gpm-tray-icon.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);

@@ -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);

@@ -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);

0 comments on commit 1e3fbac

Please sign in to comment.
You can’t perform that action at this time.