Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing error for Type value #66

Closed
rootkea opened this issue Oct 19, 2020 · 1 comment
Closed

Parsing error for Type value #66

rootkea opened this issue Oct 19, 2020 · 1 comment
Labels
Fix Released The fix was released.

Comments

@rootkea
Copy link

rootkea commented Oct 19, 2020

Hello!

I'm using menulibre 2.2.1 on Ubuntu 20.04 LTS.

It seems that menulibre doesn't recognize Service as a valid Type value since it shows following parsing error:

Type value is invalid - currently 'Service', should be 'Application'

But as per the desktop entry spec, Service is a valid type along with other 2 types mentioned there.

Kdeconnect uses .desktop file with Type=Service.

Also, what about Link (type 2) and Directory (type 3)? With current implementation, Libremenu will report the parsing error for .desktop files with Type=Link or Type=Directory - both valid type values.

Looks like this is the line of code in question:

if type_key != GLib.KEY_FILE_DESKTOP_TYPE_APPLICATION:

Thanks!

bluesabre added a commit that referenced this issue Sep 17, 2021
@bluesabre
Copy link
Owner

Thanks for the bug report! Corrected in the above commit.

@bluesabre bluesabre added the Fix Released The fix was released. label Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Released The fix was released.
Projects
None yet
Development

No branches or pull requests

2 participants