[Goodies-commits] r6337 - in xfce4-screenshooter-plugin/trunk: . src

Jerome Guelfucci jeromeg at xfce.org
Sat Dec 20 14:22:21 CET 2008


Author: jeromeg
Date: 2008-12-20 13:22:21 +0000 (Sat, 20 Dec 2008)
New Revision: 6337

Modified:
   xfce4-screenshooter-plugin/trunk/ChangeLog
   xfce4-screenshooter-plugin/trunk/src/main.c
Log:
  * src/main.c (cb_dialog_response): only sleep one second if mode is not
    rectangular selection.


Modified: xfce4-screenshooter-plugin/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter-plugin/trunk/ChangeLog	2008-12-20 12:49:58 UTC (rev 6336)
+++ xfce4-screenshooter-plugin/trunk/ChangeLog	2008-12-20 13:22:21 UTC (rev 6337)
@@ -1,5 +1,10 @@
 2008-12-20 jeromeg
 
+  * src/main.c (cb_dialog_response): only sleep one second if mode is not
+    rectangular selection.
+
+2008-12-20 jeromeg
+
   * doc/C/images: update the screenshot.
   * doc/C/xfce4-screenshooter.html: 
     - update with the new options

Modified: xfce4-screenshooter-plugin/trunk/src/main.c
===================================================================
--- xfce4-screenshooter-plugin/trunk/src/main.c	2008-12-20 12:49:58 UTC (rev 6336)
+++ xfce4-screenshooter-plugin/trunk/src/main.c	2008-12-20 13:22:21 UTC (rev 6337)
@@ -92,7 +92,8 @@
           
       /* Make sure the window manager had time to set the new active
       * window.*/
-      sleep (1);
+      if (sd->mode != RECTANGLE)
+        sleep (1);
               
       screenshooter_take_and_output_screenshot (sd);
       




More information about the Goodies-commits mailing list