Package: gthumb Version: 3:2.10.8-1.1 Severity: normal In the import dialog, there is an option to specify a 'Film'. Once a value has been entered and used once, it is impossible to permanently clear it: If it is cleared and an import is done (resulting in the use of the date and time as the 'film' name), upon starting a new import the 'Film' field will be filled again.
The attached patch fixes this problem by always saving the 'Film' field value, even when the date and time is used. -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gthumb depends on: ii gthumb-data 3:2.10.8-1.1 an image viewer and browser - arch ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit ii libbonobo2-0 2.22.0-1 Bonobo CORBA interfaces library ii libbonoboui2-0 2.22.0-1 The Bonobo UI library ii libc6 2.7-16 GNU C Library: Shared libraries ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra ii libexif12 0.6.16-2.1 library to parse EXIF files ii libgconf2-4 2.22.0-1 GNOME configuration database syste ii libglade2-0 1:2.6.3-1 library to load .glade files at ru ii libglib2.0-0 2.16.6-1 The GLib library of C routines ii libgnome2-0 2.20.1.1-2 The GNOME 2 library - runtime file ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display ii libgnomeui-0 2.20.1.1-2 The GNOME 2 libraries (User Interf ii libgnomevfs2-0 1:2.22.0-5 GNOME Virtual File System (runtime ii libgphoto2-2 2.4.1-3 gphoto2 digital camera library ii libgphoto2-port0 2.4.1-3 gphoto2 digital camera port librar ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libiptcdata0 1.0.2+libtool01-2 Library to parse IPTC metadata ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii liborbit2 1:2.14.16-0.1 libraries for ORBit2 - a CORBA ORB ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio ii libpng12-0 1.2.27-2 PNG library - runtime ii libpopt0 1.14-4 lib for parsing cmdline parameters ii libsm6 2:1.0.3-2 X11 Session Management library ii libtiff4 3.8.2-11 Tag Image File Format (TIFF) libra ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library ii libx11-6 2:1.1.5-2 X11 client-side library ii libxml2 2.6.32.dfsg-5 GNOME XML library ii libxtst6 2:1.0.3-1 X11 Testing -- Resource extension ii rarian-compat [scrollk 0.8.1-1 Rarian is a documentation meta-dat ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages gthumb recommends: ii yelp 2.22.1-8+b1 Help browser for GNOME 2 gthumb suggests no packages. -- no debconf information
--- a/src/dlg-photo-importer.c +++ b/src/dlg-photo-importer.c @@ -1147,6 +1147,9 @@ get_folder_name (DialogData *data) } film_name = _gtk_entry_get_filename_text (GTK_ENTRY (data->film_entry)); + + eel_gconf_set_path (PREF_PHOTO_IMPORT_FILM, film_name); + if (! is_valid_filename (film_name)) { time_t now; struct tm *tm; @@ -1159,8 +1162,7 @@ get_folder_name (DialogData *data) strftime (time_txt, 50, "%Y-%m-%d--%H.%M.%S", tm); film_name = g_strdup (time_txt); - } else - eel_gconf_set_path (PREF_PHOTO_IMPORT_FILM, film_name); + } path = g_build_filename (destination, film_name, NULL); g_free (film_name);