Patchwork [master&dylan] lib/oe/terminal.py: add support for MATE desktop terminals

login
register
mail settings
Submitter Nicolas Dechesne
Date July 29, 2013, 8:59 a.m.
Message ID <1375088384-17473-1-git-send-email-nicolas.dechesne@linaro.org>
Download mbox | patch
Permalink /patch/54685/
State Accepted
Commit 8cc078a9c679845464c59028f584d7aba098cc1f
Headers show

Comments

Nicolas Dechesne - July 29, 2013, 8:59 a.m.
From: Andre McCurdy <andre.mccurdy@entropic.com>

A simple clone of the corresponding Gnome class. Without this, devshell
fails completely on a default installation of MATE desktop Linux Mint 15.

Signed-off-by: Andre McCurdy <andre.mccurdy@entropic.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
 meta/lib/oe/terminal.py | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 4502f34..be2a26b 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -55,6 +55,10 @@  class Gnome(XTerminal):
     command = 'gnome-terminal --disable-factory -t "{title}" -x {command}'
     priority = 2
 
+class Mate(XTerminal):
+    command = 'mate-terminal --disable-factory -t "{title}" -x {command}'
+    priority = 2
+
 class Xfce(XTerminal):
     command = 'Terminal -T "{title}" -e "{command}"'
     priority = 2