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

Jerome Guelfucci jeromeg at xfce.org
Tue Jul 15 09:20:00 CEST 2008


Author: jeromeg
Date: 2008-07-15 07:20:00 +0000 (Tue, 15 Jul 2008)
New Revision: 5086

Modified:
   xfce4-screenshooter-plugin/trunk/ChangeLog
   xfce4-screenshooter-plugin/trunk/NEWS
   xfce4-screenshooter-plugin/trunk/README
   xfce4-screenshooter-plugin/trunk/configure.ac.in
   xfce4-screenshooter-plugin/trunk/src/main.c
   xfce4-screenshooter-plugin/trunk/xfce4-screenshooter.1
Log:
Get ready for 1.3.0

Modified: xfce4-screenshooter-plugin/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter-plugin/trunk/ChangeLog	2008-07-15 05:39:56 UTC (rev 5085)
+++ xfce4-screenshooter-plugin/trunk/ChangeLog	2008-07-15 07:20:00 UTC (rev 5086)
@@ -1,3 +1,11 @@
+2008-07-15 jeromeg
+
+  === 1.3.0 ===
+  
+  * NEWS, README: updated.
+  * configure.ac.in: get ready for new release.
+  * xfce4-screenshooter.1: update version.  
+
 2008-07-11 jeromeg
 
   * src/main.c: 

Modified: xfce4-screenshooter-plugin/trunk/NEWS
===================================================================
--- xfce4-screenshooter-plugin/trunk/NEWS	2008-07-15 05:39:56 UTC (rev 5085)
+++ xfce4-screenshooter-plugin/trunk/NEWS	2008-07-15 07:20:00 UTC (rev 5086)
@@ -6,6 +6,7 @@
   * New CLI option to set a default save directory, saved in a rc file.
   * BUGFIX: generate file names correctly, screenshots should now be
   saved in the correct place, whatever mode is being used.
+  * A lot of updated/new translations.
 
 === Version 1.2.0 ===
 	* Fix gcc warnings.

Modified: xfce4-screenshooter-plugin/trunk/README
===================================================================
--- xfce4-screenshooter-plugin/trunk/README	2008-07-15 05:39:56 UTC (rev 5085)
+++ xfce4-screenshooter-plugin/trunk/README	2008-07-15 07:20:00 UTC (rev 5086)
@@ -10,6 +10,10 @@
 without having the panel applet running. 
 	
 The following command line options are available:
- -v, --version            Version information
- -w, --window             Take a screenshot of the active window
- -d, --delay              Delay in seconds before taking the screenshot
+  -v, --version            Version information
+  -w, --window             Take a screenshot of the active window
+  -d, --delay              Delay in seconds before taking the screenshot
+  -h, --hide               Do not display the save dialog
+  -s, --save               Directory where the screenshot will be saved
+  -p, --preferences        Dialog to set the default save folder
+

Modified: xfce4-screenshooter-plugin/trunk/configure.ac.in
===================================================================
--- xfce4-screenshooter-plugin/trunk/configure.ac.in	2008-07-15 05:39:56 UTC (rev 5085)
+++ xfce4-screenshooter-plugin/trunk/configure.ac.in	2008-07-15 07:20:00 UTC (rev 5086)
@@ -4,11 +4,11 @@
 dnl
 
 m4_define([xfce4_screenshooter_plugin_version_major], [1])
-m4_define([xfce4_screenshooter_plugin_version_minor], [2])
-m4_define([xfce4_screenshooter_plugin_version_micro], [5])
+m4_define([xfce4_screenshooter_plugin_version_minor], [3])
+m4_define([xfce4_screenshooter_plugin_version_micro], [0])
 m4_define([xfce4_screenshooter_plugin_version_nano],  []) dnl leave this empty to have no nano version
 m4_define([xfce4_screenshooter_plugin_version_build], [r at REVISION@])
-m4_define([xfce4_screenshooter_plugin_version_tag],   [svn])
+m4_define([xfce4_screenshooter_plugin_version_tag],   [])
 m4_define([xfce4_screenshooter_plugin_version], [xfce4_screenshooter_plugin_version_major().xfce4_screenshooter_plugin_version_minor().xfce4_screenshooter_plugin_version_micro()ifelse(xfce4_screenshooter_plugin_version_nano(), [], [], [.xfce4_screenshooter_plugin_version_nano()])ifelse(xfce4_screenshooter_plugin_version_tag(), [svn], [xfce4_screenshooter_plugin_version_tag()-xfce4_screenshooter_plugin_version_build()], [xfce4_screenshooter_plugin_version_tag()])])
 
 AC_INIT([xfce4-screenshooter-plugin], [xfce4_screenshooter_plugin_version], [http://bugzilla.xfce.org/], [xfce4-screenshooter-plugin])

Modified: xfce4-screenshooter-plugin/trunk/src/main.c
===================================================================
--- xfce4-screenshooter-plugin/trunk/src/main.c	2008-07-15 05:39:56 UTC (rev 5085)
+++ xfce4-screenshooter-plugin/trunk/src/main.c	2008-07-15 07:20:00 UTC (rev 5086)
@@ -68,12 +68,11 @@
   XfceRc *rc;
   gchar * rc_file;
 
-  rc_file = g_build_filename( xfce_get_homedir(), ".config", "xfce4", "xfce4-screenshooter", NULL);
-
-  if ( g_file_test(rc_file, G_FILE_TEST_EXISTS) )
+  if ( ( rc_file = xfce_resource_lookup( XFCE_RESOURCE_CONFIG, "xfce4-screenshooter") ) != NULL )
   {
     rc = xfce_rc_simple_open (rc_file, TRUE);
-    screenshot_dir = g_strdup ( xfce_rc_read_entry (rc, "screenshot_dir", xfce_get_homedir () ) );
+    screenshot_dir = g_strdup ( xfce_rc_read_entry (rc, "screenshot_dir", 
+                                xfce_get_homedir () ) );
     sd->screenshot_dir = screenshot_dir;
     xfce_rc_close (rc);
   }
@@ -89,7 +88,8 @@
   {
     if (cli_error != NULL)
     {
-      g_print (_("%s: %s\nTry %s --help to see a full list of available command line options.\n"), PACKAGE, cli_error->message, PACKAGE_NAME);
+      g_print (_("%s: %s\nTry %s --help to see a full list of available command line options.\n"), 
+               PACKAGE, cli_error->message, PACKAGE_NAME);
       g_error_free (cli_error);
       return 1;
     }

Modified: xfce4-screenshooter-plugin/trunk/xfce4-screenshooter.1
===================================================================
--- xfce4-screenshooter-plugin/trunk/xfce4-screenshooter.1	2008-07-15 05:39:56 UTC (rev 5085)
+++ xfce4-screenshooter-plugin/trunk/xfce4-screenshooter.1	2008-07-15 07:20:00 UTC (rev 5086)
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
-.TH XFCE4-SCREENSHOOTER-PLUGIN "1" "June 2008" "xfce4-screenshooter-plugin 1.2.5" "User Commands"
+.TH XFCE4-SCREENSHOOTER-PLUGIN "1" "June 2008" "xfce4-screenshooter-plugin 1.3.0" "User Commands"
 .SH NAME
 xfce4-screenshooter-plugin \- panel plugin and standalone application to take screenshots
 .SH DESCRIPTION




More information about the Goodies-commits mailing list