After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688525 - add keywords to the desktop file
add keywords to the desktop file
Status: RESOLVED FIXED
Product: aisleriot
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: aisleriot-maint
aisleriot-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-17 11:35 UTC by B.Prathibha
Modified: 2012-11-23 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (665 bytes, patch)
2012-11-17 11:35 UTC, B.Prathibha
none Details | Review
updated patch (731 bytes, patch)
2012-11-17 14:08 UTC, B.Prathibha
none Details | Review
updated keywords patch (720 bytes, patch)
2012-11-18 03:55 UTC, B.Prathibha
none Details | Review
keywords patch (718 bytes, patch)
2012-11-22 16:39 UTC, B.Prathibha
none Details | Review

Description B.Prathibha 2012-11-17 11:35:17 UTC
Created attachment 229226 [details] [review]
patch

This patch makes the application search simple and user friendly.
Comment 1 Christian Persch 2012-11-17 11:55:06 UTC
+_Keywords=solitaire;cards;sol;card game;Klondike solitaire;

Does gnome-shell search match the whole strings here, or wordwise? Because if it's per word, there wouldn't be a need to add "Klondike solitaire", just "Klondike" would do. Also, why only add a keyword for that one game, instead of the names of all included games (would need to autogenerate this file). Finally, I don't think "sol" is a good keyword.
Comment 2 B.Prathibha 2012-11-17 12:32:35 UTC
I included only klondike since that one of the most famous games that people might search for. 

sol is included since solitaire is also popularly known by the term sol.
Comment 3 Christian Persch 2012-11-17 12:45:49 UTC
(In reply to comment #2)
> I included only klondike since that one of the most famous games that people
> might search for. 

Spider is also pretty popular...

> sol is included since solitaire is also popularly known by the term sol.

[Citation needed] :-)
Comment 4 B.Prathibha 2012-11-17 14:08:59 UTC
Created attachment 229239 [details] [review]
updated patch
Comment 5 B.Prathibha 2012-11-17 14:09:37 UTC
> Spider is also pretty popular...

This is included in the updated patch.

> 
> > sol is included since solitaire is also popularly known by the term sol.
> 
> [Citation needed] :-)

http://www.linuxfromscratch.org/blfs/view/svn/gnome/aisleriot.html

sol is removed from the keyword as it comes in solitaire itself.
Comment 6 Vincent Povirk 2012-11-17 15:56:21 UTC
We no longer have a separate shortcut for Freecell, right? Might also make sense to add that one. (And then cut it off there because we really don't want every game in the keywords.)
Comment 7 Christian Persch 2012-11-17 19:03:55 UTC
Yes, the freecell desktop file was removed in bug 681645.
Comment 8 B.Prathibha 2012-11-18 03:55:06 UTC
Created attachment 229272 [details] [review]
updated keywords patch
Comment 9 Christian Persch 2012-11-21 17:15:40 UTC
From: "B.Prathibha" <prathibhab@cdac.in>

Use the full name in Author line, please, no abbreviations.

Also, should add "patience" to the keywords. With those fixed, ok to commit to master.
Comment 10 B.Prathibha 2012-11-22 16:39:50 UTC
Created attachment 229645 [details] [review]
keywords patch

The patch is updated as per the review suggestions.
Comment 11 Andreas Nilsson 2012-11-22 17:07:38 UTC
(In reply to comment #10)
> Created an attachment (id=229645) [details] [review]
> keywords patch
> 
> The patch is updated as per the review suggestions.

Hi Linda, we spoke in #gnome-love earlier.
The patch needs Firstname Lastname in the From field in the patch so you can be correctly credited for the fix.
Comment 12 B.Prathibha 2012-11-23 16:43:01 UTC
> Hi Linda, we spoke in #gnome-love earlier.
> The patch needs Firstname Lastname in the From field in the patch so you can be
> correctly credited for the fix.

I don't have a last name. Can I mention my name as initial firstname.
Comment 13 Christian Persch 2012-11-23 16:52:25 UTC
Committed; thanks for the patch!