terminal desktop icon only show on mate session

master-1.22
Perberos 2011-11-13 00:22:49 -03:00
parent c52283c46b
commit abc2dbbf76
2 changed files with 12 additions and 8 deletions

View File

@ -4,20 +4,22 @@
srcdir=`dirname $0` srcdir=`dirname $0`
test -z "$srcdir" && srcdir=. test -z "$srcdir" && srcdir=.
PKG_NAME=mate-terminal PKG_NAME="mate-terminal"
(test -f $srcdir/configure.ac \ (test -f $srcdir/configure.ac) || {
&& test -f $srcdir/autogen.sh \
&& test -d $srcdir/src \
&& test -f $srcdir/src/terminal.c) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory" echo " top-level $PKG_NAME directory"
exit 1 exit 1
} }
which mate-autogen.sh || { which mate-autogen.sh || {
echo "You need to install mate-common from the MATE CVS" echo "You need to install mate-common from the MATE Git"
exit 1 exit 1
} }
REQUIRED_AUTOMAKE_VERSION=1.9 MATE_DATADIR="$mate_datadir" USE_COMMON_DOC_BUILD=yes . mate-autogen.sh REQUIRED_AUTOMAKE_VERSION=1.9
MATE_DATADIR="$mate_datadir"
USE_COMMON_DOC_BUILD=yes
. mate-autogen.sh

View File

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
_Name=MATE Terminal _Name=Terminal
_Comment=Use the command line _Comment=Use the command line
TryExec=mate-terminal TryExec=mate-terminal
Exec=mate-terminal Exec=mate-terminal
@ -11,4 +11,6 @@ X-MATE-Bugzilla-Product=mate-terminal
X-MATE-Bugzilla-Component=BugBuddyBugs X-MATE-Bugzilla-Component=BugBuddyBugs
X-MATE-Bugzilla-Version=@VERSION@ X-MATE-Bugzilla-Version=@VERSION@
Categories=MATE;GTK;Utility;TerminalEmulator; Categories=MATE;GTK;Utility;TerminalEmulator;
OnlyShowIn=MATE;
StartupNotify=true StartupNotify=true