From 0a10b4280b18b7b35e81864af132180274459450 Mon Sep 17 00:00:00 2001 From: speedy Date: Sun, 17 Oct 2004 13:43:42 +0000 Subject: [PATCH] *** empty log message *** Changed files: mozilla-thunderbird-bin.desktop -> 1.1 mozilla-thunderbird-bin.sh -> 1.1 --- mozilla-thunderbird-bin.desktop | 12 ++++++++++++ mozilla-thunderbird-bin.sh | 21 +++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 mozilla-thunderbird-bin.desktop create mode 100644 mozilla-thunderbird-bin.sh diff --git a/mozilla-thunderbird-bin.desktop b/mozilla-thunderbird-bin.desktop new file mode 100644 index 0000000..4ad585f --- /dev/null +++ b/mozilla-thunderbird-bin.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=Mozilla Thunderbird (bin) +Name[pl]=Mozilla Thunderbird (bin) +Comment=Email client +Comment[pl]=Klient poczty +Exec=mozilla-thunderbird-bin +Icon=mozilla-thunderbird-bin.xpm +Terminal=false +Type=Application +Categories=Network;Email; +Encoding=UTF-8 +# vi: encoding=utf-8 diff --git a/mozilla-thunderbird-bin.sh b/mozilla-thunderbird-bin.sh new file mode 100644 index 0000000..c61391a --- /dev/null +++ b/mozilla-thunderbird-bin.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# based on script by (c) vip at linux.pl, wolf at pld-linux.org + +MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird-bin +if [ "$1" == "-remote" ]; then + $MOZILLA_FIVE_HOME/thunderbird "$@" +else + PING=`$MOZILLA_FIVE_HOME/thunderbird -remote 'ping()' 2>&1 >/dev/null` + if [ -n "$PING" ]; then + $MOZILLA_FIVE_HOME/thunderbird "$@" + else + case "$1" in + -compose|-editor) + $MOZILLA_FIVE_HOME/thunderbird -remote 'xfeDoCommand (composeMessage)' + ;; + *) + $MOZILLA_FIVE_HOME/thunderbird -remote 'xfeDoCommand (openInbox)' + ;; + esac + fi +fi -- 2.44.0