]> www.fi.muni.cz Git - evince.git/commitdiff
Animate the next button when activate is pressed.
authorAnders Carlsson <andersca@gnome.org>
Wed, 22 Dec 2004 18:34:53 +0000 (18:34 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Wed, 22 Dec 2004 18:34:53 +0000 (18:34 +0000)
2004-12-22  Anders Carlsson  <andersca@gnome.org>

* shell/eggfindbar.c: (entry_activate_callback):
Animate the next button when activate is pressed.

ChangeLog
shell/eggfindbar.c

index 6ad07b89e4348f80fd64f5b571daaadf68387325..3d95437d82ed9ba80886229a8f23eefd7d8e0a2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-22  Anders Carlsson  <andersca@gnome.org>
+
+       * shell/eggfindbar.c: (entry_activate_callback):
+       Animate the next button when activate is pressed.
+       
 2004-12-22  Anders Carlsson  <andersca@gnome.org>
 
        * shell/ev-window.c: (ev_window_cmd_edit_find),
index 4ce466266df64810416b6f8b3d293ed9280c77a4..f7b204795986a1a77d0434476c08a3418cf4f95f 100644 (file)
@@ -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