<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">El 24-10-2017 12:02 AM, "André Miranda" <<a href="mailto:andre42m@gmail.com">andre42m@gmail.com</a>> escribió:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would like to announce that the *experimental* work on Thunar Extension Framework (thunarx) has been completed [1].<br>
As previously explained, besides updating to gtk3, I wanted to clean the API from deprecated widgets (GtkAction).<br>
This is the last Request For Comments before I push to master.<br>
<br>
New abstraction class:<br>
ThunarxMenuItem<br>
obs1: based on Nemo and Nautilus extension libs, not sure if its name make much sense, specially from ThunarxRenamers<br>
obs2: maybe ThunarxAction would make more sense, maybe not, but of course the "breakage" would be smaller.<br>
<br>
Provider interfaces affected:<br>
- ThunarxMenuProvider — The interface to extensions that provide additional menu items<br>
- ThunarxPreferencesProvider — The interface to extensions that provide preferences<br>
- ThunarxRenamerProvider — The interface to extensions that provide additional bulk renamers<br>
<br>
Methods changed:<br>
- thunarx_menu_provider_get_file<wbr>_actions -> thunarx_menu_provider_get_file<wbr>_menu_items<br>
- thunarx_menu_provider_get_fold<wbr>er_actions -> thunarx_menu_provider_get_fold<wbr>er_menu_items<br>
- thunarx_menu_provider_get_dnd_<wbr>actions -> thunarx_menu_provider_get_dnd_<wbr>menu_items<br>
- thunarx_preferences_provider_g<wbr>et_actions -> thunarx_preferences_provider_g<wbr>et_menu_items<br>
- thunarx_renamer_get_actions -> thunarx_renamer_get_menu_items<br>
<br>
Plugins/components TODO list (marked items are updated):<br>
[X] thunar-advanced-properties ("apr", bundled with thunar)<br>
[X] thunar-simple-builtin-renamers ("sbr", bundled with thunar)<br>
[X] thunar-sendto-email (bundled with thunar)<br>
[X] thunar-trash-panel-applet ("tpa, bundled with thunar)<br>
[X] thunar-user-customizable-actio<wbr>ns ("uca", bundled with thunar)<br>
[X] thunar-wallpaper-plugin (bundled with thunar)<br>
[ ] thunar-actions-plugin<br>
[X] thunar-archive-plugin (WIP available in [2])<br>
[ ] thunar-media-tags-plugin<br>
[ ] thunar-shares-plugin<br>
[ ] thunar-vcs-plugin<br>
[ ] xfdesktop<br>
[ ] anything else depends on thunarx?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Thunarx-python (or was python-thunarx) which is the base for Dropbox-thunar plugin rabbitcvs-thunar plugin, Nilfs-thunar plugin, InSync-thunar plugin.</div><div dir="auto"><br></div><div dir="auto">I think that the only one last.</div><div dir="auto"><br></div><div dir="auto">An option is to provide what this plugin do in thunar itself binding for python to thunar or the "same" kinds of tools</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
What I ask:<br>
- review the API changes and how things were renamed<br>
- review how ThunarxMenuItem are internally translated into GtkAction (thunar-util.c:thunar_util_act<wbr>ion_from_menu_item)<br>
- test!<br>
<br>
1 - <a href="https://github.com/andreldm/thunar/tree/gtkaction-replacement" rel="noreferrer" target="_blank">https://github.com/andreldm/th<wbr>unar/tree/gtkaction-replacemen<wbr>t</a><br>
2 - <a href="https://github.com/andreldm/thunar-archive-plugin" rel="noreferrer" target="_blank">https://github.com/andreldm/th<wbr>unar-archive-plugin</a><br>
<br>
Cheers,<br>
Andre Miranda<br>
______________________________<wbr>_________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org" target="_blank">Xfce4-dev@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" rel="noreferrer" target="_blank">https://mail.xfce.org/mailman/<wbr>listinfo/xfce4-dev</a></blockquote></div><br></div></div></div>