Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
6bd08656
Commit
6bd08656
authored
Oct 23, 2010
by
Carlos Garnacho
Browse files
GtkStyle: Handle scrollbar buttons.
parent
490d59f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkstyle.c
View file @
6bd08656
...
...
@@ -1820,8 +1820,17 @@ transform_detail_string (const gchar *detail,
gtk_style_context_add_class
(
context
,
"button"
);
gtk_style_context_set_junction_sides
(
context
,
GTK_JUNCTION_TOP
);
}
else
if
((
detail
[
0
]
==
'h'
||
detail
[
0
]
==
'v'
)
&&
strncmp
(
&
detail
[
1
],
"scrollbar_"
,
10
)
==
0
)
{
gtk_style_context_add_class
(
context
,
"button"
);
gtk_style_context_add_class
(
context
,
"scrollbar"
);
}
else
if
(
strcmp
(
detail
,
"slider"
)
==
0
)
gtk_style_context_add_class
(
context
,
"slider"
);
{
gtk_style_context_add_class
(
context
,
"slider"
);
gtk_style_context_add_class
(
context
,
"scrollbar"
);
}
else
if
(
g_str_has_prefix
(
detail
,
"cell_"
))
{
GtkRegionFlags
row
,
col
;
...
...
Write
Preview
Markdown
is supported
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