From 29d4b297afccd67742563fb1ae68d6a39b4a8686 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 22 Dec 2004 18:34:53 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ shell/eggfindbar.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6ad07b89..3d95437d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-22 Anders Carlsson + + * shell/eggfindbar.c: (entry_activate_callback): + Animate the next button when activate is pressed. + 2004-12-22 Anders Carlsson * shell/ev-window.c: (ev_window_cmd_edit_find), diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c index 4ce46626..f7b20479 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 -- 2.43.5