evince r3159 - in trunk: . shell
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r3159 - in trunk: . shell
- Date: Sun, 7 Sep 2008 10:37:26 +0000 (UTC)
Author: carlosgc
Date: Sun Sep 7 10:37:26 2008
New Revision: 3159
URL: http://svn.gnome.org/viewvc/evince?rev=3159&view=rev
Log:
2008-09-07 Carlos Garcia Campos <carlosgc gnome org>
* shell/ev-window.c: (image_save_dialog_response_cb):
Do not append the file extension twice when saving an image.
Modified:
trunk/ChangeLog
trunk/shell/ev-window.c
Modified: trunk/shell/ev-window.c
==============================================================================
--- trunk/shell/ev-window.c (original)
+++ trunk/shell/ev-window.c Sun Sep 7 10:37:26 2008
@@ -5063,7 +5063,7 @@
}
extensions = gdk_pixbuf_format_get_extensions (format);
- if (g_str_has_suffix(uri, extensions[0])) {
+ if (!g_str_has_suffix (uri, extensions[0])) {
gchar *uri_extension;
uri_extension = g_strconcat (uri, ".", extensions[0], NULL);
@@ -5072,7 +5072,7 @@
} else {
target_file = g_file_new_for_uri (uri);
}
- g_strfreev(extensions);
+ g_strfreev (extensions);
g_free (uri);
is_native = g_file_is_native (target_file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]