diff options
author | Timm Bäder <mail@baedert.org> | 2013-10-08 11:27:53 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2013-11-04 16:36:11 +0100 |
commit | 9b1c94319001e55cf56b38b380b9bd05bd8130cc (patch) | |
tree | be10163d2103e14f694486f8376ca658c2a029f4 /gtk/gtkcssmatcher.c | |
parent | 74dc941c221a13145152d2f3c264bfb564bb7160 (diff) | |
download | gtk+-9b1c94319001e55cf56b38b380b9bd05bd8130cc.tar.gz |
css parser: Add :link and :visited
... which are both to be used for links instead of the current
-GtkWidget-link-color and -GtkWidget-visited-link-color
https://bugzilla.gnome.org/show_bug.cgi?id=709629
Diffstat (limited to 'gtk/gtkcssmatcher.c')
-rw-r--r-- | gtk/gtkcssmatcher.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkcssmatcher.c b/gtk/gtkcssmatcher.c index ccdf5479cf..b0bdfd1480 100644 --- a/gtk/gtkcssmatcher.c +++ b/gtk/gtkcssmatcher.c @@ -230,7 +230,8 @@ gtk_css_matcher_any_get_state (const GtkCssMatcher *matcher) return GTK_STATE_FLAG_ACTIVE | GTK_STATE_FLAG_PRELIGHT | GTK_STATE_FLAG_SELECTED | GTK_STATE_FLAG_INSENSITIVE | GTK_STATE_FLAG_INCONSISTENT - | GTK_STATE_FLAG_FOCUSED | GTK_STATE_FLAG_BACKDROP; + | GTK_STATE_FLAG_FOCUSED | GTK_STATE_FLAG_BACKDROP | GTK_STATE_FLAG_LINK + | GTK_STATE_FLAG_VISITED; } static gboolean @@ -326,7 +327,8 @@ gtk_css_matcher_superset_get_state (const GtkCssMatcher *matcher) else return GTK_STATE_FLAG_ACTIVE | GTK_STATE_FLAG_PRELIGHT | GTK_STATE_FLAG_SELECTED | GTK_STATE_FLAG_INSENSITIVE | GTK_STATE_FLAG_INCONSISTENT - | GTK_STATE_FLAG_FOCUSED | GTK_STATE_FLAG_BACKDROP; + | GTK_STATE_FLAG_FOCUSED | GTK_STATE_FLAG_BACKDROP | GTK_STATE_FLAG_LINK + | GTK_STATE_FLAG_VISITED; } static gboolean |