From 7a0ce6c57b1f1376c8ce6ef3b938992fa27b0c08 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 4 Jul 2009 19:50:55 -0400 Subject: [PATCH] ShellOverflowList: Implement pick This gives us the correct event behavior. --- src/shell-overflow-list.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/shell-overflow-list.c b/src/shell-overflow-list.c index c63660f92..b1f418e19 100644 --- a/src/shell-overflow-list.c +++ b/src/shell-overflow-list.c @@ -169,6 +169,21 @@ shell_overflow_list_paint (ClutterActor *actor) g_list_free (children); } +static void +shell_overflow_list_pick (ClutterActor *actor, + const ClutterColor *color) +{ + ShellOverflowList *self = SHELL_OVERFLOW_LIST (actor); + ShellOverflowListPrivate *priv = self->priv; + GList *children, *iter; + int i; + + (CLUTTER_ACTOR_CLASS (g_type_class_peek (clutter_actor_get_type ())))->pick (actor, color); + + shell_overflow_list_paint (self); +} + + static void shell_overflow_list_get_preferred_height (ClutterActor *actor, gfloat for_width, @@ -256,6 +271,7 @@ shell_overflow_list_class_init (ShellOverflowListClass *klass) actor_class->get_preferred_height = shell_overflow_list_get_preferred_height; actor_class->allocate = shell_overflow_list_allocate; actor_class->paint = shell_overflow_list_paint; + actor_class->pick = shell_overflow_list_pick; g_object_class_install_property (gobject_class, PROP_SPACING,