It would be useful if garcon provided an interface for Keywords desktop entry , like garcon_menu_item_get_keywords, garcon_menu_item_set_keywords, ...
Can somebody point me to where this could be inserted? This shouldn't be more work than a simple string split on semicolon + a getter. This is one of the most missing features of garcon for me.
This is C, not Python.
Created attachment 7363
Suuport for keywords in freedesktop compliant files, v1
Created attachment 7364
tried using keyword function in xfdashboard. printed out first keyword (if available)
Can you take a look at submission?
This is my first contribution to XFCE, I tried to follow the conventions.
Most of the code is done quite like categories.
KEYWORD type is not defined in GLIB, so I added that in the header.
You can verify correctness here: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
Looks good to my amateur eyes. You should get a maintainer to review it. Raise it on xfce4-dev@ to speed it up.
how to? do you mean a mailing list, or a group to mention?
Yes, sorry, the mailing list. "A group to mention," lmao, this is Bugzilla, a 90's software! :D
yes , but it supports assigning and adding to CC list :D
Thanks for the patch! Pushed to master in: https://git.xfce.org/xfce/garcon/commit/?id=a38922c0892262294c88813c4bf0c72e2f438d54