SF.net SVN: geany: [1192] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Mon Jan 15 15:08:11 UTC 2007
Revision: 1192
http://svn.sourceforge.net/geany/?rev=1192&view=rev
Author: eht16
Date: 2007-01-15 07:08:10 -0800 (Mon, 15 Jan 2007)
Log Message:
-----------
Fixed changing directories when the path contains whitespace.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/vte.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-01-15 11:48:14 UTC (rev 1191)
+++ trunk/ChangeLog 2007-01-15 15:08:10 UTC (rev 1192)
@@ -1,3 +1,9 @@
+2007-01-15 Enrico Tröger <enrico.troeger at uvena.de>
+
+ * src/vte.c:
+ Fixed changing directories when the path contains whitespace.
+
+
2007-01-15 Nick Treleaven <nick.treleaven at btinternet.com>
* src/symbols.c:
Modified: trunk/src/vte.c
===================================================================
--- trunk/src/vte.c 2007-01-15 11:48:14 UTC (rev 1191)
+++ trunk/src/vte.c 2007-01-15 15:08:10 UTC (rev 1192)
@@ -436,13 +436,12 @@
if (vte_info.have_vte && (vc->follow_path || force) && filename != NULL)
{
gchar *path;
- gchar *cmd;
path = g_path_get_dirname(filename);
vte_get_working_directory(); // refresh vte_info.dir
if (! utils_str_equal(path, vte_info.dir))
{
- cmd = g_strconcat("cd ", path, "\n", NULL);
+ gchar *cmd = g_strconcat("cd \"", path, "\"\n", NULL);
vte_send_cmd(cmd);
g_free(cmd);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list