2005-08-22 [paul] 1.9.13cvs48
authorPaul Mangan <paul@claws-mail.org>
Mon, 22 Aug 2005 11:16:08 +0000 (11:16 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 22 Aug 2005 11:16:08 +0000 (11:16 +0000)
* src/textview.c
fix open_image_cb()

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/textview.c

index e28e3f8b18707c09d25bb020a7c5380ffe953a26..933615ceae9d2403b4b1de9f41c22bf09d11ae5c 100644 (file)
@@ -1,3 +1,8 @@
+2005-08-22 [paul]      1.9.13cvs48
+
+       * src/textview.c
+               fix open_image_cb()
+
 2005-08-22 [paul]      1.9.13cvs47
 
        * src/imap.c
index c522253c0fca1eb3f33c6463af7c9b44853204c4..7582201de5c35d1ab915cc7b17fb734f311f0b6d 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.395.2.115 -r 1.395.2.116 src/summaryview.c;  ) > 1.9.13cvs45.patchset
 ( cvs diff -u -r 1.83.2.36 -r 1.83.2.37 src/mimeview.c;  cvs diff -u -r 1.204.2.54 -r 1.204.2.55 src/prefs_common.c;  cvs diff -u -r 1.96.2.70 -r 1.96.2.71 src/textview.c;  cvs diff -u -r 1.9.2.13 -r 1.9.2.14 src/common/defs.h;  ) > 1.9.13cvs46.patchset
 ( cvs diff -u -r 1.179.2.58 -r 1.179.2.59 src/imap.c;  ) > 1.9.13cvs47.patchset
+( cvs diff -u -r 1.96.2.71 -r 1.96.2.72 src/textview.c;  ) > 1.9.13cvs48.patchset
index 9645988f2c26369d9da7395c8189ddb04446cc3d..f861b11c80a59d50cbb910f61a7e4b52c35ab9b1 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=13
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=47
+EXTRA_VERSION=48
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 4a1876b542de2c2e79b8fe9caeb25573e01a79c2..95935bfc940495a5297e8570e75d4f2b0811b4bf 100644 (file)
@@ -1957,6 +1957,7 @@ static void open_image_cb (TextView *textview, guint action, void *data)
        const gchar *def_cmd;
        const gchar *p;
        gchar *filename = NULL;
+       gchar *tmp_filename = NULL;
 
        if (uri == NULL)
                return;
@@ -1974,6 +1975,10 @@ static void open_image_cb (TextView *textview, guint action, void *data)
 
        subst_for_filename(filename);
 
+       tmp_filename = g_filename_from_uri(uri->uri, NULL, NULL);
+       copy_file(tmp_filename, filename, FALSE);
+       g_free(tmp_filename);
+
        cmd = prefs_common.mime_image_viewer;
        def_cmd = default_cmdline;