GNOME Bugzilla – Bug 598960
Don't use case-sensitive file lookup for adium themes
Last modified: 2018-05-22 13:45:41 UTC
I tried an adium theme that had a file "Contents/info.plist" instead of "Contents/Info.plist" (capitalized). Because of this, it did not show up in the theme selector combobox. After renaming the file to be capitalized, it appeared in the theme selector. It would be nice if empathy would use case-insensitive filename lookups to avoid this issue.
What the Adium spec says about that? AFAIK there is not case unsensitive lookup function and I don't really want to try each possibility for each file...
The adium spec has all files with first letter as capital. Linux has case-sensitive file systems, unlike windows (and mac?). IMO this bug is WONTFIX.
yeah, but it still sucks that an entire theme won't work simply because a filename is missing a capital letter. It would be fairly simple to just list the directory and then loop through the list of files and do a case-insensitive filename comparison for the file you're looking for. This is certainly not a performance critical section, so the loss of effiency here wouldn't be a big deal. But if you don't want to make that change, I guess I don't really care.
I think Jonner's solution make sense.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/empathy/issues/126.