[Xfce4-commits] <xfce4-weather-plugin:master> Scrollbox: Fix fade-in animation not working in vertical mode.

Harald Judt noreply at xfce.org
Sat Jan 5 12:04:01 CET 2013


Updating branch refs/heads/master
         to f37801667a46ae1677c6db6a125189f39a36d92c (commit)
       from 9abf67510a654f1ac53351825716800ff87e3ff9 (commit)

commit f37801667a46ae1677c6db6a125189f39a36d92c
Author: Harald Judt <h.judt at gmx.at>
Date:   Sat Dec 29 14:58:56 2012 +0100

    Scrollbox: Fix fade-in animation not working in vertical mode.

 panel-plugin/weather-scrollbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/weather-scrollbox.c b/panel-plugin/weather-scrollbox.c
index 3e85dcf..9bb0e81 100644
--- a/panel-plugin/weather-scrollbox.c
+++ b/panel-plugin/weather-scrollbox.c
@@ -369,7 +369,7 @@ gtk_scrollbox_control_loop(gpointer user_data)
             if (self->orientation == GTK_ORIENTATION_HORIZONTAL)
                 self->offset = GTK_WIDGET(self)->allocation.height;
             else
-                self->offset = 0;
+                self->offset = 0 - GTK_WIDGET(self)->allocation.width;
         } else
             self->offset = 0;
         self->timeout_id = g_timeout_add(LABEL_SPEED,


More information about the Xfce4-commits mailing list