-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from flathub/keywords
Add 'torrent' and other keywords to .desktop file
- Loading branch information
Showing
4 changed files
with
71 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 5cefddeaeea8f75d12e2b04d37e9302803008af3 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Piotr=20Dr=C4=85g?= <piotrdrag@gmail.com> | ||
Date: Sat, 28 Jan 2017 23:52:32 +0100 | ||
Subject: [PATCH 1/2] Remove X-GNOME-FullName from the .desktop file | ||
|
||
It's a GNOME-specific hack for the 2.x era menu system that was never | ||
standardized in [1] and is now unused in GNOME 3. | ||
|
||
[1] https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html | ||
--- | ||
gtk/transmission-gtk.desktop.in | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/gtk/transmission-gtk.desktop.in b/gtk/transmission-gtk.desktop.in | ||
index 51ee8b771..2b6e799b8 100644 | ||
--- a/gtk/transmission-gtk.desktop.in | ||
+++ b/gtk/transmission-gtk.desktop.in | ||
@@ -1,7 +1,6 @@ | ||
[Desktop Entry] | ||
_Name=Transmission | ||
_GenericName=BitTorrent Client | ||
-_X-GNOME-FullName=Transmission BitTorrent Client | ||
_Comment=Download and share files over BitTorrent | ||
Exec=transmission-gtk %U | ||
Icon=transmission | ||
-- | ||
2.14.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 297c734c0b97e26e2c3b4322f9ce9947b08fb3a7 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Piotr=20Dr=C4=85g?= <piotrdrag@gmail.com> | ||
Date: Sat, 28 Jan 2017 23:57:01 +0100 | ||
Subject: [PATCH 2/2] Add Keywords to the .desktop file | ||
|
||
It's a part of the Desktop Entry Specification [1] and it's used by, | ||
among others, the search system in GNOME 3. | ||
|
||
The comment is there to hopefully minimize the chance of translators | ||
making a mistake that could potentially break build. | ||
|
||
[1] https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html | ||
--- | ||
gtk/transmission-gtk.desktop.in | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/gtk/transmission-gtk.desktop.in b/gtk/transmission-gtk.desktop.in | ||
index 2b6e799b8..3e606264f 100644 | ||
--- a/gtk/transmission-gtk.desktop.in | ||
+++ b/gtk/transmission-gtk.desktop.in | ||
@@ -2,6 +2,8 @@ | ||
_Name=Transmission | ||
_GenericName=BitTorrent Client | ||
_Comment=Download and share files over BitTorrent | ||
+# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! | ||
+_Keywords=torrents;downloading;uploading;share;sharing; | ||
Exec=transmission-gtk %U | ||
Icon=transmission | ||
Terminal=false | ||
-- | ||
2.14.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters