Package: f-spot
Version: 0.1.5-2
Severity: normal
Tags: patch

I suppose it's a consequence of the fact that pictures are now
displayed in reverse order: when exporting pictures to a web gallery
or a directory, the result is sorted backwards (most recent pictures
first).  That could arguably be considered a feature in F-Spot
(although I don't like it at all), but I don't think it's anything but
a bug in exported galleries.

The following patch fixes the behaviour for exports to a web gallery,
I suppose it could be adapted to the other exports too.

diff -ru f-spot-0.1.5/src/GalleryExport.cs f-spot-0.1.5.new/src/GalleryExport.cs
--- f-spot-0.1.5/src/GalleryExport.cs   2005-12-12 07:11:28.000000000 +0100
+++ f-spot-0.1.5.new/src/GalleryExport.cs       2006-01-23 13:22:11.000000000 
+0100
@@ -576,7 +576,7 @@

                                System.Console.WriteLine ("Starting upload");
                                while (photo_index < photos.Length) {
-                                       Photo photo = photos [photo_index];
+                                       Photo photo = photos [photos.Length - 
photo_index - 1];

                                        System.Console.WriteLine ("uploading 
{0}", photo_index);

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages f-spot depends on:
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  libdbus-1-cil                 0.60-5     CLI binding for D-BUS interprocess
ii  libexif12                     0.6.12-2   library to parse EXIF files
ii  libgconf2.0-cil               2.4.0-2    CLI binding for GConf 2.6
ii  libglade2.0-cil               2.4.0-2    CLI binding for the Glade librarie
ii  libglib2.0-0                  2.8.6-1    The GLib library of C routines
ii  libglib2.0-cil                2.4.0-2    CLI binding for the GLib utility l
ii  libgnome2.0-cil               2.4.0-2    CLI binding for GNOME 2.6
ii  libgnomeui-0                  2.12.0-2   The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0                2.12.2-5   GNOME virtual file-system (runtime
ii  libgphoto2-2                  2.1.6-6    gphoto2 digital camera library
ii  libgtk2.0-0                   2.8.10-1   The GTK+ graphical user interface 
ii  libgtk2.0-cil                 2.4.0-2    CLI binding for the GTK+ toolkit 2
ii  libjpeg62                     6b-11      The Independent JPEG Group's JPEG 
ii  liblcms1                      1.13-1     Color management library
ii  libmono0                      1.1.13.1-1 libraries for the Mono JIT
ii  libsqlite0                    2.8.16-1   SQLite shared library
ii  mono-classlib-1.0             1.1.13.1-1 Mono class library (1.0)
ii  mono-jit                      1.1.13.1-1 fast CLI JIT/AOT compiler for Mono

f-spot recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to