[gnome-commander] Fixed problem #597890 (wrong arguments passed to meld)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander] Fixed problem #597890 (wrong arguments passed to meld)
- Date: Sat, 17 Oct 2009 12:50:58 +0000 (UTC)
commit efa53a78a54e988332d5352eceaa2214897cf353
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Oct 11 01:10:41 2009 +0200
Fixed problem #597890 (wrong arguments passed to meld)
NEWS | 1 +
doc/C/gnome-commander.xml | 3 +++
src/gnome-cmd-user-actions.cc | 15 ++-------------
3 files changed, 6 insertions(+), 13 deletions(-)
---
diff --git a/NEWS b/NEWS
index aa6373a..579cadb 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,7 @@ Bug fixes:
* Fixed problem #596973 (documentation build error)
* Fixed problem #597144 (missing call to pclose)
* Fixed problem #597233 (validating of doc translations)
+ * Fixed problem #597890 (wrong arguments passed to meld)
===================================
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 87c9779..cf4d940 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6032,6 +6032,9 @@
<listitem>
<para>Fixed problem #597233 (validating of doc translations)</para>
</listitem>
+ <listitem>
+ <para>Fixed problem #597890 (wrong arguments passed to meld)</para>
+ </listitem>
</itemizedlist>
</para>
</entry>
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index bb36d43..30b2127 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -917,21 +917,10 @@ void file_sync_dirs (GtkMenuItem *menuitem, gpointer not_used)
return;
}
- GnomeVFSURI *active_dir_uri = gnome_cmd_dir_get_uri (active_fs->get_directory());
- GnomeVFSURI *inactive_dir_uri = gnome_cmd_dir_get_uri (inactive_fs->get_directory());
- gchar *active_dir = gnome_vfs_unescape_string (gnome_vfs_uri_get_path (active_dir_uri), NULL);
- gchar *inactive_dir = gnome_vfs_unescape_string (gnome_vfs_uri_get_path (inactive_dir_uri), NULL);
-
- gnome_vfs_uri_unref (active_dir_uri);
- gnome_vfs_uri_unref (inactive_dir_uri);
-
string s;
- append_real_path (s, active_dir);
- append_real_path (s, inactive_dir);
-
- g_free (active_dir);
- g_free (inactive_dir);
+ append_real_path (s, GNOME_CMD_FILE (active_fs->get_directory()));
+ append_real_path (s, GNOME_CMD_FILE (inactive_fs->get_directory()));
gchar *cmd = g_strdup_printf (gnome_cmd_data.get_differ(), s.c_str(), "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]