From: Anders Carlsson Date: Wed, 22 Dec 2004 18:34:53 +0000 (+0000) Subject: Animate the next button when activate is pressed. X-Git-Tag: EVINCE_0_1_0~78 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=29d4b297afccd67742563fb1ae68d6a39b4a8686;p=evince.git 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. --- 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