codeblocks/codeblocks-10.05-konsole.patch

12 lines
575 B
Diff
Raw Normal View History

--- codeblocks-10.05-release/src/sdk/globals.cpp.orig 2010-05-22 12:10:05.000000000 +0200
+++ codeblocks-10.05-release/src/sdk/globals.cpp 2011-05-28 12:13:07.000000000 +0200
@@ -47,7 +47,7 @@
const wxString DEFAULT_ARRAY_SEP = _T(";");
#ifndef __WXMAC__
-const wxString DEFAULT_CONSOLE_TERM = _T("xterm -T $TITLE -e");
+const wxString DEFAULT_CONSOLE_TERM = _T("konsole --workdir=$WORKDIR --title $TITLE -e");
#else
const wxString DEFAULT_CONSOLE_TERM = _T("osascript -e 'tell app \"Terminal\"' -e 'activate' -e 'do script \"$SCRIPT\"' -e 'end tell'");
#endif