]> git.pld-linux.org Git - packages/mozilla-thunderbird-bin.git/commitdiff
*** empty log message ***
authorspeedy <speedy@pld-linux.org>
Sun, 17 Oct 2004 13:43:42 +0000 (13:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mozilla-thunderbird-bin.desktop -> 1.1
    mozilla-thunderbird-bin.sh -> 1.1

mozilla-thunderbird-bin.desktop [new file with mode: 0644]
mozilla-thunderbird-bin.sh [new file with mode: 0644]

diff --git a/mozilla-thunderbird-bin.desktop b/mozilla-thunderbird-bin.desktop
new file mode 100644 (file)
index 0000000..4ad585f
--- /dev/null
@@ -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 (file)
index 0000000..c61391a
--- /dev/null
@@ -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
This page took 0.340861 seconds and 4 git commands to generate.