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

Jerome Guelfucci jeromeg at xfce.org
Mon Dec 1 18:28:43 CET 2008


Author: jeromeg
Date: 2008-12-01 17:28:43 +0000 (Mon, 01 Dec 2008)
New Revision: 6244

Modified:
   xfce4-screenshooter-plugin/trunk/ChangeLog
   xfce4-screenshooter-plugin/trunk/src/main.c
Log:
  * src/main.c: fix the saving of preferences when no screenshot has
    been taken, the code to determine the save location remained in an
    incorrect place.


Modified: xfce4-screenshooter-plugin/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter-plugin/trunk/ChangeLog	2008-12-01 10:22:09 UTC (rev 6243)
+++ xfce4-screenshooter-plugin/trunk/ChangeLog	2008-12-01 17:28:43 UTC (rev 6244)
@@ -1,5 +1,11 @@
 2008-12-01 jeromeg
 
+  * src/main.c: fix the saving of preferences when no screenshot has
+    been taken, the code to determine the save location remained in an
+    incorrect place.
+
+2008-12-01 jeromeg
+
   * src/main.c: check for GTK_RESPONSE_OK instead of something !=
     GTK_RESPONSE_CANCEL.
   * lib/screenshooter-dialogs.c:

Modified: xfce4-screenshooter-plugin/trunk/src/main.c
===================================================================
--- xfce4-screenshooter-plugin/trunk/src/main.c	2008-12-01 10:22:09 UTC (rev 6243)
+++ xfce4-screenshooter-plugin/trunk/src/main.c	2008-12-01 17:28:43 UTC (rev 6244)
@@ -213,17 +213,15 @@
                       
           if (response == GTK_RESPONSE_OK)
             {
-              rc_file = 
-                xfce_resource_save_location (XFCE_RESOURCE_CONFIG, 
-                                             "xfce4/xfce4-screenshooter",
-                                             TRUE);
-              
               screenshooter_take_and_output_screenshot (sd);
             }
         }
       
       /* Save preferences */
-          
+      rc_file = 
+        xfce_resource_save_location (XFCE_RESOURCE_CONFIG, 
+                                     "xfce4/xfce4-screenshooter",
+                                     TRUE);
       if (rc_file != NULL)
         {
           screenshooter_write_rc_file (rc_file, sd);




More information about the Goodies-commits mailing list