[Xfce4-commits] <ristretto:master> Update scale when box-zoom is used to change the scale

Stephan Arts noreply at xfce.org
Fri Jan 20 23:56:01 CET 2012


Updating branch refs/heads/master
         to 98c8f040614897f54b60d7f04cfa0b9c8a585053 (commit)
       from 9f644a39ba6c67f8c882cbd1aa6bd06c7e766b2a (commit)

commit 98c8f040614897f54b60d7f04cfa0b9c8a585053
Author: Stephan Arts <stephan at xfce.org>
Date:   Fri Jan 20 23:49:48 2012 +0100

    Update scale when box-zoom is used to change the scale

 src/image_viewer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/image_viewer.c b/src/image_viewer.c
index 3260767..1be5c3a 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -2416,6 +2416,8 @@ rstto_button_release_event (
                  */
                 gtk_adjustment_changed(viewer->hadjustment);
                 gtk_adjustment_changed(viewer->vadjustment);
+
+                g_signal_emit_by_name(viewer, "scale-changed");
             }
             break;
         default:


More information about the Xfce4-commits mailing list