From 29d4b297afccd67742563fb1ae68d6a39b4a8686 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 22 Dec 2004 18:34:53 +0000 Subject: Animate the next button when activate is pressed. 2004-12-22 Anders Carlsson * shell/eggfindbar.c: (entry_activate_callback): Animate the next button when activate is pressed. --- (limited to 'shell') diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c index 4ce4662..f7b2047 100644 --- a/shell/eggfindbar.c +++ b/shell/eggfindbar.c @@ -238,8 +238,11 @@ entry_activate_callback (GtkEntry *entry, void *data) { EggFindBar *find_bar = EGG_FIND_BAR (data); + EggFindBarPrivate *priv = (EggFindBarPrivate *)find_bar->private_data; - egg_find_bar_emit_next (find_bar); + /* We activate the "next" button here so we'll get a nice + animation */ + gtk_widget_activate (priv->next_button); } static void -- cgit v0.9.1