diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-24 16:29:31 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-24 17:27:27 -0500 |
commit | 66f802662235ef650dd02f094038c96bf03c61bb (patch) | |
tree | 530835985af5a4000eae15c269ec7967d3168784 /gtk/gtknotebook.c | |
parent | 22bcd62e2eb900c35979f8a56b9dd59327bec03b (diff) | |
download | gtk+-66f802662235ef650dd02f094038c96bf03c61bb.tar.gz |
notebook: add a style class when the child tab is reorderable
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 0b0791de86..b610b6cc82 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -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: |