You are not logged in.
Pages: 1


Hello!
I managed to build the thunar-nextcloud-plugin, from this https://github.com/frederikmoellers/thu … oud-plugin. It seems to work just fine, except that is lacking the icon. I assume "call" for the icon is in this file https://github.com/frederikmoellers/thu … provider.c but my coding skills are very limited, and the plugin is old, and perhaps the code-snippet that handles the icon i deprecated (it says something about GTK2).
But does anyone with some python-skills know how to get the plugin use an icon? It is not essential for the plugin to work, but it bothers my sensitive esthetic mind that I see this black and red square instead of the Nextcloud icon.
Regards
/M
Offline


But does anyone with some python-skills know how to get the plugin use an icon?
It's actually written in C.
From tnp-provider.c:
item = thunarx_menu_item_new("Tnp::share",
_("Share via _Nextcloud"),
tooltip,
"Nextcloud");The last parameter is the name of the icon to use. You can either change that name in the source code to use another name in your icon theme, or you could try putting the nextcloud icon in ~/.icons (create the folder if it doesn't exist) and name it "Nextcloud.png". You might need to log out and back in again for it to take effect (or completely close thunar via "thunar -q" and restart it).
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 523.22 KiB (Peak: 524.2 KiB) ]