[gnome-control-center] shell: Put the panel title in the header
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: Put the panel title in the header
- Date: Mon, 18 Feb 2013 15:41:20 +0000 (UTC)
commit b0cfa3f08c16bd154d3c5ba965342bac4d404e8d
Author: William Jon McCann <jmccann redhat com>
Date: Sun Feb 17 10:46:38 2013 -0500
shell: Put the panel title in the header
Instead of in the window title
https://bugzilla.gnome.org/show_bug.cgi?id=692174
shell/cc-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 695462f..0fb574d 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -216,7 +216,7 @@ activate_panel (CcWindow *self,
icon_name = get_icon_name_from_g_icon (gicon);
gtk_window_set_role (GTK_WINDOW (self), id);
- gtk_window_set_title (GTK_WINDOW (self), name);
+ gd_header_bar_set_title (GD_HEADER_BAR (priv->header), name);
gtk_window_set_default_icon_name (icon_name);
gtk_window_set_icon_name (GTK_WINDOW (self), icon_name);
@@ -264,6 +264,7 @@ shell_show_overview_page (CcWindow *self)
/* reset window title and icon */
gtk_window_set_role (GTK_WINDOW (self), NULL);
gtk_window_set_title (GTK_WINDOW (self), _(DEFAULT_WINDOW_TITLE));
+ gd_header_bar_set_title (GD_HEADER_BAR (priv->header), NULL);
gtk_window_set_default_icon_name (DEFAULT_WINDOW_ICON_NAME);
gtk_window_set_icon_name (GTK_WINDOW (self), DEFAULT_WINDOW_ICON_NAME);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]