forked from AuroraMiddleware/gtk
notebook: add a style class when the child tab is reorderable
This commit is contained in:
parent
22bcd62e2e
commit
66f8026622
@ -2016,6 +2016,9 @@ notebook_tab_prepare_style_context (GtkNotebook *notebook,
|
||||
|
||||
gtk_style_context_add_region (context, GTK_STYLE_REGION_TAB, flags);
|
||||
|
||||
if (page->reorderable)
|
||||
gtk_style_context_add_class (context, "reorderable-page");
|
||||
|
||||
switch (tab_pos)
|
||||
{
|
||||
case GTK_POS_TOP:
|
||||
|
Loading…
Reference in New Issue
Block a user