Revision: 3528 http://geany.svn.sourceforge.net/geany/?rev=3528&view=rev Author: eht16 Date: 2009-01-30 15:39:08 +0000 (Fri, 30 Jan 2009)
Log Message: ----------- If the VTE has a dirty command line, print the resulting warning also to the debug messages.
Modified Paths: -------------- trunk/src/build.c trunk/src/vte.c
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2009-01-29 17:24:31 UTC (rev 3527) +++ trunk/src/build.c 2009-01-30 15:39:08 UTC (rev 3528) @@ -676,8 +676,11 @@ g_free(utf8_working_dir); } if (! vte_send_cmd(vte_cmd)) + { ui_set_statusbar(FALSE, _("Could not execute the file in the VTE because it probably contains a command.")); + geany_debug("Could not execute the file in the VTE because it probably contains a command."); + }
/* show the VTE */ gtk_notebook_set_current_page(GTK_NOTEBOOK(msgwindow.notebook), MSG_VTE);
Modified: trunk/src/vte.c =================================================================== --- trunk/src/vte.c 2009-01-29 17:24:31 UTC (rev 3527) +++ trunk/src/vte.c 2009-01-30 15:39:08 UTC (rev 3528) @@ -653,8 +653,12 @@ gchar *quoted_path = g_shell_quote(path); gchar *cmd = g_strconcat("cd ", quoted_path, "\n", NULL); if (! vte_send_cmd(cmd)) + { ui_set_statusbar(FALSE, _("Could not change the directory in the VTE because it probably contains a command.")); + geany_debug( + "Could not change the directory in the VTE because it probably contains a command."); + } g_free(quoted_path); g_free(cmd); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.