[Python-apps-commits] r2882 - in packages/oggconvert/trunk/debian (3 files)

dktrkranz-guest at users.alioth.debian.org dktrkranz-guest at users.alioth.debian.org
Thu May 7 19:26:57 UTC 2009


    Date: Thursday, May 7, 2009 @ 19:26:56
  Author: dktrkranz-guest
Revision: 2882

GNOME provides a Videos directory in $HOME folders,
place default "Save Folder" location there.

Added:
  packages/oggconvert/trunk/debian/patches/default_location
Modified:
  packages/oggconvert/trunk/debian/changelog
  packages/oggconvert/trunk/debian/patches/series

Modified: packages/oggconvert/trunk/debian/changelog
===================================================================
--- packages/oggconvert/trunk/debian/changelog	2009-05-07 19:24:23 UTC (rev 2881)
+++ packages/oggconvert/trunk/debian/changelog	2009-05-07 19:26:56 UTC (rev 2882)
@@ -1,3 +1,11 @@
+oggconvert (0.3.2-3) UNRELEASED; urgency=low
+
+  * debian/patches/default_location:
+    - GNOME provides a Videos directory in $HOME folders, place default
+      "Save Folder" location there.
+
+ -- Luca Falavigna <dktrkranz at ubuntu.com>  Thu, 07 May 2009 21:25:56 +0200
+
 oggconvert (0.3.2-2) unstable; urgency=low
 
   * Add Python Applications Packaging Team to Uploaders.

Added: packages/oggconvert/trunk/debian/patches/default_location
===================================================================
--- packages/oggconvert/trunk/debian/patches/default_location	                        (rev 0)
+++ packages/oggconvert/trunk/debian/patches/default_location	2009-05-07 19:26:56 UTC (rev 2882)
@@ -0,0 +1,20 @@
+GNOME provides a Videos directory in $HOME folders, place default "Save Folder" location there.
+https://launchpad.net/bugs/209592
+
+Index: oggconvert-0.3.2/OggConvert/ocv_main.py
+===================================================================
+--- oggconvert-0.3.2.orig/OggConvert/ocv_main.py	2008-11-06 22:12:35.536963832 +0100
++++ oggconvert-0.3.2/OggConvert/ocv_main.py	2008-11-06 22:13:55.361509458 +0100
+@@ -316,7 +316,11 @@
+         self._file_chooser_button.add_filter(audio)
+         self._file_chooser_button.add_filter(allfiles)
+         
+-        self._file_chooser_button.set_current_folder(
++        if os.path.exists(os.path.expanduser("~/Videos")):
++            self._file_chooser_button.set_current_folder(
++                        os.path.expanduser("~/Videos"))
++        else:
++            self._file_chooser_button.set_current_folder(
+                         os.path.expanduser("~"))
+         
+         self._file_chooser_button.set_local_only(False)

Modified: packages/oggconvert/trunk/debian/patches/series
===================================================================
--- packages/oggconvert/trunk/debian/patches/series	2009-05-07 19:24:23 UTC (rev 2881)
+++ packages/oggconvert/trunk/debian/patches/series	2009-05-07 19:26:56 UTC (rev 2882)
@@ -1 +1,2 @@
 desktop_file_validation
+default_location




More information about the Python-apps-commits mailing list