Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
Settings
Commits
b0cfa3f0
Commit
b0cfa3f0
authored
Feb 17, 2013
by
William Jon McCann
Committed by
Bastien Nocera
Feb 18, 2013
Browse files
shell: Put the panel title in the header
Instead of in the window title
https://bugzilla.gnome.org/show_bug.cgi?id=692174
parent
8bee6c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/cc-window.c
View file @
b0cfa3f0
...
...
@@ -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
);
g
tk_window
_set_title
(
G
TK_WINDOW
(
self
),
name
);
g
d_header_bar
_set_title
(
G
D_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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment