[tracker] thunderbird: Add desktop file so needle opens email on activation
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] thunderbird: Add desktop file so needle opens email on activation
- Date: Fri, 5 Aug 2011 15:30:05 +0000 (UTC)
commit 126d708f386e78a0abfe80dae77e07934982ffe1
Author: Martyn Russell <martyn lanedo com>
Date: Fri Aug 5 16:19:38 2011 +0100
thunderbird: Add desktop file so needle opens email on activation
src/plugins/thunderbird/Makefile.am | 6 +++++-
.../thunderbird/trackerbird-launcher.desktop | 6 ++++++
2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/thunderbird/Makefile.am b/src/plugins/thunderbird/Makefile.am
index 284648b..38d0af7 100644
--- a/src/plugins/thunderbird/Makefile.am
+++ b/src/plugins/thunderbird/Makefile.am
@@ -8,11 +8,15 @@ extension_DATA = \
chrome.manifest \
README
-EXTRA_DIST = $(extension_DATA)
+mimefixdir = $(datadir)/applications/
+mimefix_DATA = trackerbird-launcher.desktop
+
+EXTRA_DIST = $(extension_DATA) $(mimefix_DATA)
install-data-hook:
$(MKDIR_P) "$(DESTDIR)$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)"
$(LN_S) -f "$(extensiondir)" "$(DESTDIR)$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)/trackerbird bustany org"
+ update-desktop-database
uninstall-hook:
$(RM) "$(DESTDIR)$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)/trackerbird bustany org"
diff --git a/src/plugins/thunderbird/trackerbird-launcher.desktop b/src/plugins/thunderbird/trackerbird-launcher.desktop
new file mode 100644
index 0000000..0f60e20
--- /dev/null
+++ b/src/plugins/thunderbird/trackerbird-launcher.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Name=Trackerbird Launcher
+Type=Application
+Exec=thunderbird -mail %u
+MimeType=x-scheme-handler/imap-message
+NoDisplay=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]