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
e160e43f
Commit
e160e43f
authored
Feb 18, 2013
by
Cosimo Cecchi
Browse files
cc-window: Fix style of home button
parent
d9e10339
Changes
1
Show whitespace changes
Inline
Side-by-side
shell/cc-window.c
View file @
e160e43f
...
...
@@ -1388,7 +1388,7 @@ create_header (CcWindow *self)
gd_header_bar_pack_start
(
GD_HEADER_BAR
(
priv
->
header
),
button
);
g_signal_connect
(
button
,
"clicked"
,
G_CALLBACK
(
home_button_clicked_cb
),
self
);
context
=
gtk_widget_get_style_context
(
priv
->
home_button
);
gtk_style_context_add_class
(
context
,
"
raised
"
);
gtk_style_context_add_class
(
context
,
"
image-button
"
);
priv
->
top_right_box
=
gtk_box_new
(
GTK_ORIENTATION_HORIZONTAL
,
0
);
gd_header_bar_pack_end
(
GD_HEADER_BAR
(
priv
->
header
),
priv
->
top_right_box
);
...
...
@@ -1403,8 +1403,6 @@ create_header (CcWindow *self)
priv
->
lock_button
=
gtk_lock_button_new
(
NULL
);
gtk_widget_set_no_show_all
(
button
,
TRUE
);
gtk_container_add
(
GTK_CONTAINER
(
priv
->
top_right_box
),
priv
->
lock_button
);
context
=
gtk_widget_get_style_context
(
priv
->
lock_button
);
gtk_style_context_add_class
(
context
,
"raised"
);
}
static
void
...
...
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