[Goodies-commits] r3140 - ristretto/trunk/src
Stephan Arts
stephan at xfce.org
Tue Sep 4 20:12:41 CEST 2007
Author: stephan
Date: 2007-09-04 18:12:41 +0000 (Tue, 04 Sep 2007)
New Revision: 3140
Modified:
ristretto/trunk/src/picture_viewer.c
Log:
Reduce timeout on picture_viewer (might improve the feel of the app)
Modified: ristretto/trunk/src/picture_viewer.c
===================================================================
--- ristretto/trunk/src/picture_viewer.c 2007-09-04 17:46:10 UTC (rev 3139)
+++ ristretto/trunk/src/picture_viewer.c 2007-09-04 18:12:41 UTC (rev 3140)
@@ -619,7 +619,7 @@
static gboolean
cb_rstto_picture_viewer_update_image(RsttoPictureViewer *viewer)
{
- if (g_timer_elapsed(viewer->priv->timer, NULL) > 0.2)
+ if (g_timer_elapsed(viewer->priv->timer, NULL) > 0.15)
{
g_timer_stop(viewer->priv->timer);
viewer->priv->timeout_id = 0;
@@ -634,7 +634,7 @@
{
g_timer_start(viewer->priv->timer);
if (viewer->priv->timeout_id == 0)
- viewer->priv->timeout_id = g_timeout_add(200, (GSourceFunc)cb_rstto_picture_viewer_update_image, viewer);
+ viewer->priv->timeout_id = g_timeout_add(150, (GSourceFunc)cb_rstto_picture_viewer_update_image, viewer);
}
static void
More information about the Goodies-commits
mailing list