opnsense-ports/editors/vanubi/files/patch-gui_shellbar.vala
Franco Fichtner 1d33fe7287 */*: sync with upstream
Taken from: FreeBSD
2015-07-09 07:18:07 +02:00

17 lines
680 B
Vala

Add support of vte-2.91 instead of vte-2.90
--- gui/shellbar.vala.orig 2014-12-09 10:52:31 UTC
+++ gui/shellbar.vala
@@ -146,10 +146,10 @@ namespace Vanubi.UI {
}
Pid pid;
- term.fork_command_full (PtyFlags.DEFAULT, workdir, {shell}, null, SpawnFlags.SEARCH_PATH, null, out pid);
+ term.spawn_sync (PtyFlags.DEFAULT, workdir, {shell}, null, SpawnFlags.SEARCH_PATH, null, out pid);
term.set_data ("pid", pid);
pty_cancellable = new Cancellable ();
- read_sh.begin (term.pty_object.fd, pty_cancellable);
+ read_sh.begin (term.get_pty ().fd, pty_cancellable);
mouse_match (term, """^.+error:""");
mouse_match (term, """^.+warning:""");