rpms/gthumb/devel gthumb-2.7.3-use-local-filename.patch, NONE, 1.1 gthumb.spec, 1.37, 1.38
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Mar 2 19:22:03 UTC 2006
- Previous message (by thread): rpms/postgresql/devel README.rpm-dist,1.10,1.11
- Next message (by thread): rpms/kernel/devel patch-2.6.16-rc5-git6.bz2.sign, NONE, 1.1 .cvsignore, 1.368, 1.369 kernel-2.6.spec, 1.2008, 1.2009 sources, 1.309, 1.310 upstream, 1.284, 1.285 patch-2.6.16-rc5-git4.bz2.sign, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rstrode
Update of /cvs/dist/rpms/gthumb/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv3622
Modified Files:
gthumb.spec
Added Files:
gthumb-2.7.3-use-local-filename.patch
Log Message:
- Make saving work again (bug 183141)
gthumb-2.7.3-use-local-filename.patch:
gth-window-actions-callbacks.c | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletion(-)
--- NEW FILE gthumb-2.7.3-use-local-filename.patch ---
--- gthumb-2.7.3/src/gth-window-actions-callbacks.c.use-local-filename 2006-03-02 14:08:18.000000000 -0500
+++ gthumb-2.7.3/src/gth-window-actions-callbacks.c 2006-03-02 14:15:53.000000000 -0500
@@ -32,6 +32,8 @@
#include <libgnomeui/libgnomeui.h>
#include <libbonoboui.h>
#include <libgnomevfs/gnome-vfs-ops.h>
+#include <libgnomevfs/gnome-vfs-uri.h>
+#include <libgnomevfs/gnome-vfs-utils.h>
#include "async-pixbuf-ops.h"
#include "catalog.h"
@@ -131,10 +133,21 @@
{
GthWindow *window = GTH_WINDOW (data);
ImageViewer *image_viewer = gth_window_get_image_viewer (window);
+ GnomeVFSURI *uri;
+ char *str_uri, *unescaped_str_uri;
+
+ uri = gnome_vfs_uri_new (gth_window_get_image_filename (window));
+
+ str_uri = gnome_vfs_uri_to_string (uri,
+ GNOME_VFS_URI_HIDE_TOPLEVEL_METHOD);
+ unescaped_str_uri = gnome_vfs_unescape_string (str_uri, NULL);
+ g_free (str_uri);
gth_window_save_pixbuf (window,
image_viewer_get_current_pixbuf (image_viewer),
- gth_window_get_image_filename (window));
+ unescaped_str_uri);
+ g_free (unescaped_str_uri);
+ gnome_vfs_uri_unref (uri);
}
Index: gthumb.spec
===================================================================
RCS file: /cvs/dist/rpms/gthumb/devel/gthumb.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- gthumb.spec 15 Feb 2006 06:31:29 -0000 1.37
+++ gthumb.spec 2 Mar 2006 19:22:00 -0000 1.38
@@ -10,7 +10,7 @@
Summary: Image viewer, editor, organizer
Name: gthumb
Version: 2.7.3
-Release: 1
+Release: 2
URL: http://gthumb.sourceforge.net
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gthumb/2.4/%{name}-%{version}.tar.bz2
License: GPL
@@ -36,12 +36,15 @@
Requires: scrollkeeper
+Patch0: gthumb-2.7.3-use-local-filename.patch
+
%description
gthumb is an application for viewing, editing, and organizing
collections of images.
%prep
%setup -q
+%patch0 -p1 -b .use-local-filename
%build
@@ -97,6 +100,9 @@
%{_datadir}/pixmaps
%changelog
+* Thu Mar 2 2006 Ray Strode <rstrode at redhat.com> - 2.7.3-2
+- Make saving work again (bug 183141)
+
* Wed Feb 15 2006 Matthias Clasen <mclasen at redhat.com> - 2.7.3-1
- Update to 2.7.3
- BuildRequire libgphoto2
- Previous message (by thread): rpms/postgresql/devel README.rpm-dist,1.10,1.11
- Next message (by thread): rpms/kernel/devel patch-2.6.16-rc5-git6.bz2.sign, NONE, 1.1 .cvsignore, 1.368, 1.369 kernel-2.6.spec, 1.2008, 1.2009 sources, 1.309, 1.310 upstream, 1.284, 1.285 patch-2.6.16-rc5-git4.bz2.sign, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list