summaryrefslogtreecommitdiff
path: root/tests/teststack.c
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2013-08-30 22:32:42 +0200
committerMatthias Clasen <mclasen@redhat.com>2013-09-25 22:34:22 -0400
commite59c28743ac2a399ecd22360aaf7cbc9c2c72812 (patch)
tree1ffffdfc757f987b74b32dfc769a392334889e2c /tests/teststack.c
parent8d83d989bb2533d61f0d1fbe2046fdebb3335c6b (diff)
downloadgtk+-e59c28743ac2a399ecd22360aaf7cbc9c2c72812.tar.gz
Add a needs-attention child property to GtkStack
The child property is watched by the StackSwicther which in turns sets a needs-attention css class on the corresponding button, so that the theme can for instance show a throbbing animation if one of the hidden pages needs the user attention. https://bugzilla.gnome.org/show_bug.cgi?id=707153
Diffstat (limited to 'tests/teststack.c')
-rw-r--r--tests/teststack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/teststack.c b/tests/teststack.c
index 3853af2ba2..e684d2378b 100644
--- a/tests/teststack.c
+++ b/tests/teststack.c
@@ -144,6 +144,7 @@ main (gint argc,
gtk_container_child_set (GTK_CONTAINER (stack), w2,
"name", "2",
"title", "2",
+ "needs-attention", TRUE,
NULL);