meta/lib/oe/terminal.py: Don't pass non-supported '--disable-factory' flag to gnome...
authorJacob Kroon <jacob.kroon@mikrodidakt.se>
Mon, 30 Dec 2013 18:17:58 +0000 (19:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jan 2014 12:56:29 +0000 (12:56 +0000)
By default, all GNOME terminals share a single process,
reducing memory usage.  This can be disabled by starting gnome-terminal
with the --disable-factory option

However, gnome-terminal in Fedora 20 does no longer support the
'--disable-factory' flag, so remove it. As the support for 'mate' terminals was
added as a copy of the gnome code in 8cc078a9c679845464c59028f584d7aba098cc1f,
remove the flag here aswell.

(From OE-Core rev: e8dca725ed8211a874472300a3ed50e494039ab9)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/terminal.py

index be2a26b..a33abd7 100644 (file)
@@ -52,11 +52,11 @@ class XTerminal(Terminal):
             raise UnsupportedTerminal(self.name)
 
 class Gnome(XTerminal):
-    command = 'gnome-terminal --disable-factory -t "{title}" -x {command}'
+    command = 'gnome-terminal -t "{title}" -x {command}'
     priority = 2
 
 class Mate(XTerminal):
-    command = 'mate-terminal --disable-factory -t "{title}" -x {command}'
+    command = 'mate-terminal -t "{title}" -x {command}'
     priority = 2
 
 class Xfce(XTerminal):