gnome-commander r1471 - in trunk: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1471 - in trunk: . src
- Date: Sun, 6 Jan 2008 22:36:16 +0000 (GMT)
Author: epiotr
Date: Sun Jan 6 22:36:16 2008
New Revision: 1471
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1471&view=rev
Log:
Fix for starting the new document
Modified:
trunk/ChangeLog
trunk/src/gnome-cmd-file-selector.cc
Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Sun Jan 6 22:36:16 2008
@@ -1,3 +1,8 @@
+2008-01-06 Piotr Eljasiak <epiotr use pl>
+
+ * src/gnome-cmd-file-selector.cc:
+ Fix for starting the new document
+
2008-01-04 Piotr Eljasiak <epiotr use pl>
* src/gnome-cmd-advrename-dialog.cc:
Modified: trunk/src/gnome-cmd-file-selector.cc
==============================================================================
--- trunk/src/gnome-cmd-file-selector.cc (original)
+++ trunk/src/gnome-cmd-file-selector.cc Sun Jan 6 22:36:16 2008
@@ -1461,14 +1461,7 @@
return;
// create a command with an empty argument to the editor
- gchar *cmd = g_strdup (gnome_cmd_data_get_editor ());
- gint l = strlen(cmd);
- for (gint i=0; i<l; i++)
- if (cmd[i] == ' ')
- {
- cmd[i] = '\0';
- break;
- }
+ gchar *cmd = g_strdup_printf (gnome_cmd_data_get_editor (), "");
gchar *dpath = gnome_cmd_file_get_real_path (GNOME_CMD_FILE (fs->priv->cwd));
run_command_indir (cmd, dpath, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]