Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: third_party/xdg-utils/scripts/xdg-terminal.in

Issue 6758016: Update xdg-utils to the latest version available in CVS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-su.in ('k') | third_party/xdg-utils/scripts/xdg-utils-common.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/scripts/xdg-terminal.in
===================================================================
--- third_party/xdg-utils/scripts/xdg-terminal.in (revision 79890)
+++ third_party/xdg-utils/scripts/xdg-terminal.in (working copy)
@@ -6,6 +6,8 @@
#
# Refer to the usage() function below for usage.
#
+# Copyright 2009-2010, Fathi Boudra <fabo@freedesktop.org>
+# Copyright 2009-2010, Rex Dieter <rdieter@fedoraproject.org>
# Copyright 2006, Kevin Krammer <kevin.krammer@gmx.at>
#
# LICENSE:
@@ -115,6 +117,19 @@
fi
}
+terminal_lxde()
+{
+ if which lxterminal &>/dev/null; then
+ if [ x"$1" == x"" ]; then
+ lxterminal
+ else
+ lxterminal -e "$1"
+ fi
+ else
+ terminal_generic "$1"
+ fi
+}
+
#[ x"$1" != x"" ] || exit_failure_syntax
command=
@@ -159,6 +174,10 @@
terminal_xfce "$command"
;;
+ lxde)
+ terminal_lxde "$command"
+ ;;
+
generic)
terminal_generic "$command"
;;
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-su.in ('k') | third_party/xdg-utils/scripts/xdg-utils-common.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698