Package: geany / 1.37.1-2

20_use_x_terminal_emulator.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Use x-terminal-emulator instead of xterm to be more desktop
 independent
Author: Levu <levu@phicode.de>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/282972
Bug-Debian: http://bugs.debian.org/670510
Index: geany/src/keyfile.c
===================================================================
--- geany.orig/src/keyfile.c	2013-03-10 16:03:06.749907915 +0100
+++ geany/src/keyfile.c	2013-03-10 16:03:06.745907918 +0100
@@ -77,7 +77,7 @@
 #elif defined(__APPLE__)
 #define GEANY_DEFAULT_TOOLS_TERMINAL	"open -a terminal %c"
 #else
-#define GEANY_DEFAULT_TOOLS_TERMINAL	"xterm -e \"/bin/sh %c\""
+#define GEANY_DEFAULT_TOOLS_TERMINAL	"x-terminal-emulator -e \"/bin/sh %c\""
 #endif
 #ifdef __APPLE__
 #define GEANY_DEFAULT_TOOLS_BROWSER		"open -a safari"