allow spaces in filenames when saving (#200888, patch by Michael Natterer)

This commit is contained in:
Nils Philippsen 2006-08-02 14:52:50 +00:00
parent 84ca82a4f0
commit 063bbe5a7a
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- gimp-2.2.12/app/widgets/gimpfiledialog.c.filename 2006-06-26 11:49:39.000000000 +0200
+++ gimp-2.2.12/app/widgets/gimpfiledialog.c 2006-08-02 16:36:03.000000000 +0200
@@ -412,7 +412,7 @@
gimp_file_dialog_set_file_proc (dialog, NULL);
dirname = g_path_get_dirname (uri);
- basename = g_path_get_basename (uri);
+ basename = file_utils_uri_display_basename (uri);
if (dirname && strlen (dirname) && strcmp (dirname, "."))
gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (dialog),

View File

@ -36,7 +36,7 @@ Version: 2.2.12
%define age 0 %define age 0
%define minorver 200 %define minorver 200
%define microver %(ver=%{version}; echo ${ver##*.*.}) %define microver %(ver=%{version}; echo ${ver##*.*.})
Release: 2%{?dist} Release: 3%{?dist}
Epoch: 2 Epoch: 2
License: GPL, LGPL License: GPL, LGPL
Group: Applications/Multimedia Group: Applications/Multimedia
@ -96,6 +96,7 @@ Patch2: gimp-2.2.3-icontheme.patch
Patch4: gimp-2.2.4-gifload.patch Patch4: gimp-2.2.4-gifload.patch
Patch5: gimp-2.2.11-htmlview.patch Patch5: gimp-2.2.11-htmlview.patch
Patch6: gimp-2.2.11-gimptool.patch Patch6: gimp-2.2.11-gimptool.patch
Patch7: gimp-2.2.12-filename.patch
%description %description
GIMP (GNU Image Manipulation Program) is a powerful image composition and GIMP (GNU Image Manipulation Program) is a powerful image composition and
@ -150,6 +151,7 @@ EOF
%patch4 -p1 -b .gifload %patch4 -p1 -b .gifload
%patch5 -p1 -b .htmlview %patch5 -p1 -b .htmlview
%patch6 -p1 -b .gimptool %patch6 -p1 -b .gimptool
%patch7 -p1 -b .filename
%build %build
libtoolize --copy --force libtoolize --copy --force
@ -394,6 +396,9 @@ fi
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%changelog %changelog
* Wed Aug 02 2006 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.12-3
- allow spaces in filenames when saving (#200888, patch by Michael Natterer)
* Tue Jul 18 2006 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.12-2 * Tue Jul 18 2006 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.12-2
- split off libraries into gimp-libs to allow multilib installations - split off libraries into gimp-libs to allow multilib installations
- remove pre-release cruft - remove pre-release cruft