[gnome-shell] ShellOverflowList: Implement pick
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-shell] ShellOverflowList: Implement pick
- Date: Sat, 4 Jul 2009 23:51:20 +0000 (UTC)
commit 7a0ce6c57b1f1376c8ce6ef3b938992fa27b0c08
Author: Colin Walters <walters verbum org>
Date: Sat Jul 4 19:50:55 2009 -0400
ShellOverflowList: Implement pick
This gives us the correct event behavior.
src/shell-overflow-list.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-overflow-list.c b/src/shell-overflow-list.c
index c63660f..b1f418e 100644
--- a/src/shell-overflow-list.c
+++ b/src/shell-overflow-list.c
@@ -170,6 +170,21 @@ shell_overflow_list_paint (ClutterActor *actor)
}
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,
gfloat *min_height_p,
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]