meta/lib/oe/terminal.py: Don't pass non-supported '--disable-factory' flag to gnome-terminal

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>
This commit is contained in:
Jacob Kroon 2013-12-30 19:17:58 +01:00 committed by Richard Purdie
parent 7774bdf778
commit 3de579c28d
1 changed files with 2 additions and 2 deletions

View 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):