diff options
author | Anders Carlsson <andersca@gnome.org> | 2004-12-22 18:34:53 (GMT) |
---|---|---|
committer | Anders Carlsson <andersca@src.gnome.org> | 2004-12-22 18:34:53 (GMT) |
commit | 29d4b297afccd67742563fb1ae68d6a39b4a8686 (patch) | |
tree | 0006edb945475e6601d37d4d8b375da31e9ec1c8 /shell | |
parent | 84a1333555b833333db3538667e1a351591131e1 (diff) |
Animate the next button when activate is pressed.
2004-12-22 Anders Carlsson <andersca@gnome.org>
* shell/eggfindbar.c: (entry_activate_callback):
Animate the next button when activate is pressed.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/eggfindbar.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 |