css: Parse and print the new state flags

This commit is contained in:
Benjamin Otte 2012-12-18 17:30:58 +01:00
parent 26186c74c6
commit f239edaf9c

View File

@ -1107,7 +1107,9 @@ gtk_css_selector_pseudoclass_state_print (const GtkCssSelector *selector,
"insensitive",
"inconsistent",
"focus",
"backdrop"
"backdrop",
"dir(ltr)",
"dir(rtl)"
};
guint i, state;
@ -1823,7 +1825,9 @@ parse_selector_pseudo_class (GtkCssParser *parser,
{ "inconsistent", GTK_STATE_FLAG_INCONSISTENT, },
{ "focused", GTK_STATE_FLAG_FOCUSED, },
{ "focus", GTK_STATE_FLAG_FOCUSED, },
{ "backdrop", GTK_STATE_FLAG_BACKDROP, }
{ "backdrop", GTK_STATE_FLAG_BACKDROP, },
{ "dir(ltr)", GTK_STATE_FLAG_DIR_LTR, },
{ "dir(rtl)", GTK_STATE_FLAG_DIR_RTL, }
};
guint i;