summaryrefslogtreecommitdiff
path: root/editors/vanubi/files/patch-gui_shellbar.vala
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vanubi/files/patch-gui_shellbar.vala')
-rw-r--r--editors/vanubi/files/patch-gui_shellbar.vala17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/vanubi/files/patch-gui_shellbar.vala b/editors/vanubi/files/patch-gui_shellbar.vala
new file mode 100644
index 000000000000..6d6bde6f454e
--- /dev/null
+++ b/editors/vanubi/files/patch-gui_shellbar.vala
@@ -0,0 +1,17 @@
+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:""");