[gnome-control-center] shell: Avoid windows with no icons
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Avoid windows with no icons
- Date: Mon, 24 Jan 2011 13:49:49 +0000 (UTC)
commit c274f914cd3669fff10b59fb08ff3c8c55c3346f
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 24 13:48:44 2011 +0000
shell: Avoid windows with no icons
Set the default icon for child windows as well, when setting the
panel's icon.
shell/gnome-control-center.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 8c6cf40..3a1d2db 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -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),
priv->default_window_icon);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]