alexmurray / remmina-search-provider

GNU General Public License v3.0
12 stars 9 forks source link

Minor fixes for compatibility. #29

Closed detly closed 4 years ago

detly commented 4 years ago

Great extension, thanks! i had a bit of trouble using it on my system: Ubuntu 19.10 with Remmina 143 (1.4.5+ppa202005242201.r3604445.d9a00d12~ubuntu19.10.1) from the Remmina Next PPA. I tweaked a few things to get it working again.

Basically:

I also found that Shell.AppSystem.get_default().lookup_app() requires a .desktop extension, so I added that, and that icon creation was always "successful" even if it wasn't really, so I adjusted that logic.


The upshot of all this is that I don't quite know which of these are universally-applicable changes and what are system specific. But it does seem like the most recent version of Remmina at least is shipping with the desktop files above, and the other changes are Gnome Shell API related.

alexmurray commented 4 years ago

Thanks, yeah it is hard to know how much of the older compatibility code to keep around for previous versions of gnome-shell / remmina but this looks fine to me.