[Pkg-cli-apps-commits] r4963 - in /packages/f-spot/trunk/debian: changelog patches/ubuntu_importer-targetdir-selector.dpatch

laney-guest at users.alioth.debian.org laney-guest at users.alioth.debian.org
Wed Jun 10 18:39:38 UTC 2009


Author: laney-guest
Date: Wed Jun 10 18:39:38 2009
New Revision: 4963

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4963
Log:
debian/patches/ubuntu_importer-targetdir-selector.dpatch: Swap File.Exists
for Directory.Exists as we are checking for the presence of a directory
and File.Exists returns False if called on a directory, even if it does
exist. The effect of this bug was that the import dialog defaulted to
the user's home directory despite any configuration that may be in place.
Thanks to Graham Bleach. (LP: #354264)

Modified:
    packages/f-spot/trunk/debian/changelog
    packages/f-spot/trunk/debian/patches/ubuntu_importer-targetdir-selector.dpatch

Modified: packages/f-spot/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/f-spot/trunk/debian/changelog?rev=4963&op=diff
==============================================================================
--- packages/f-spot/trunk/debian/changelog (original)
+++ packages/f-spot/trunk/debian/changelog Wed Jun 10 18:39:38 2009
@@ -1,8 +1,17 @@
 f-spot (0.5.0.3-5) UNRELEASED; urgency=low
 
+  [ Tim Retout ]
   * Remove self from Uploaders.
 
- -- Tim Retout <tim at retout.co.uk>  Tue, 12 May 2009 23:03:09 +0100
+  [ Iain Lane ]
+  * debian/patches/ubuntu_importer-targetdir-selector.dpatch: Swap File.Exists
+    for Directory.Exists as we are checking for the presence of a directory
+    and File.Exists returns False if called on a directory, even if it does
+    exist. The effect of this bug was that the import dialog defaulted to
+    the user's home directory despite any configuration that may be in place.
+    Thanks to Graham Bleach. (LP: #354264)
+
+ -- Iain Lane <laney at ubuntu.com>  Wed, 10 Jun 2009 19:39:13 +0100
 
 f-spot (0.5.0.3-4) unstable; urgency=low
 

Modified: packages/f-spot/trunk/debian/patches/ubuntu_importer-targetdir-selector.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/f-spot/trunk/debian/patches/ubuntu_importer-targetdir-selector.dpatch?rev=4963&op=diff
==============================================================================
--- packages/f-spot/trunk/debian/patches/ubuntu_importer-targetdir-selector.dpatch (original)
+++ packages/f-spot/trunk/debian/patches/ubuntu_importer-targetdir-selector.dpatch Wed Jun 10 18:39:38 2009
@@ -22,7 +22,7 @@
  			attach_check.Toggled += HandleTagToggled;
  			HandleTagToggled (null, null);
 +		
-+                        if (File.Exists(FSpot.Global.PhotoDirectory))	
++                        if (Directory.Exists(FSpot.Global.PhotoDirectory))	
 +			    dest_dir_chooser.SetCurrentFolder(FSpot.Global.PhotoDirectory);
  			
  			GetPreviews ();




More information about the Pkg-cli-apps-commits mailing list