andrea florio 2010-03-10 16:14:15 +00:00 committed by Git OBS Bridge
parent 4206d27307
commit 77171a384d
4 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/src/lxterminal.c
+++ b/src/lxterminal.c
@@ -766,7 +766,7 @@ static Term *terminal_new(LXTerminal *te
if (exec) {
gchar **command;
g_shell_parse_argv(exec, NULL, &command, NULL);
- term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), (const char *)*(command), command, env, "/tmp", FALSE, TRUE, TRUE);
+ term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), (const char *)*(command), command, env, pwd, FALSE, TRUE, TRUE);
g_strfreev(command);
} else {
term->pid = vte_terminal_fork_command(VTE_TERMINAL(term->vte), NULL, NULL, env, pwd, FALSE, TRUE, TRUE);

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Mar 10 16:15:04 UTC 2010 - andrea@opensuse.org
- added lxterminal-0.1.7-fix-path.patch now -e option will work
again with commands not in the $PATH, example:
lxterminal -e ./command
will work again now
-------------------------------------------------------------------
Mon Mar 1 23:46:09 UTC 2010 - andrea@opensuse.org

View File

@ -27,6 +27,7 @@ License: GPL
Url: http://www.lxde.org/
Source0: %name-%version.tar.bz2
Patch0: %name-0.1.6-disable-f10.patch
Patch1: %name-0.1.7-fix-path.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files
BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel
@ -39,6 +40,7 @@ of the LXDE project
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"

0
ready Normal file
View File