Commit c274f914 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

shell: Avoid windows with no icons

Set the default icon for child windows as well, when setting the
panel's icon.
parent 5013cbd8
......@@ -141,6 +141,7 @@ activate_panel (GnomeControlCenter *shell,
/* set the title of the window */
gtk_window_set_title (GTK_WINDOW (priv->window), name);
gtk_window_set_default_icon_name (icon_name);
gtk_window_set_icon_name (GTK_WINDOW (priv->window), icon_name);
gtk_widget_show (panel);
......@@ -176,6 +177,7 @@ shell_show_overview_page (GnomeControlCenterPrivate *priv)
/* reset window title and icon */
gtk_window_set_title (GTK_WINDOW (priv->window), priv->default_window_title);
gtk_window_set_default_icon_name (priv->default_window_icon);
gtk_window_set_icon_name (GTK_WINDOW (priv->window),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment