]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/terminal.py: add support for MATE desktop terminals
authorAndre McCurdy <andre.mccurdy@entropic.com>
Mon, 29 Jul 2013 08:59:44 +0000 (10:59 +0200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 7 Aug 2013 10:44:32 +0000 (11:44 +0100)
A simple clone of the corresponding Gnome class. Without this, devshell
fails completely on a default installation of MATE desktop Linux Mint 15.

(From OE-Core master rev: 8cc078a9c679845464c59028f584d7aba098cc1f)

Signed-off-by: Andre McCurdy <andre.mccurdy@entropic.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/terminal.py

index 66197a88dd3e29135ea07319c1d212b205baffaf..1ae6a11b202d5899672d9b3d36b57d433f2d8241 100644 (file)
@@ -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