Thunarx API changes
Olivier Duchateau
duchateau.olivier at gmail.com
Thu Oct 26 09:18:19 CEST 2017
On Wed, 25 Oct 2017 23:07:54 -0300
André Miranda <andre42m at gmail.com> wrote:
> Hi Pablo,
> As stated in thunar-dev at xfce.org, Adam volunteered to update thunarx-python.
> If I correctly understood your suggestion, there was some talks in the
> past about merging thunarx-python into thunar (I can't recall when or
> where), but this hasn't advanced. I think it's a considerable amount of
> effort for little benefit and risky since we are already breaking stuff
> (port to gtk3 and API changes) =)
Why not to add GObject Introspection in thunarx?
>
> Cheers,
> Andre Miranda
>
> On 10/24/2017 12:10 AM, Pablo Roberto Lezaeta Reyes wrote:
> >
> >
> > El 24-10-2017 12:02 AM, "André Miranda" <andre42m at gmail.com
> > <mailto:andre42m at gmail.com>> escribió:
> >
> > I would like to announce that the *experimental* work on Thunar
> > Extension Framework (thunarx) has been completed [1].
> > As previously explained, besides updating to gtk3, I wanted to
> > clean the API from deprecated widgets (GtkAction).
> > This is the last Request For Comments before I push to master.
> >
> > New abstraction class:
> > ThunarxMenuItem
> > obs1: based on Nemo and Nautilus extension libs, not sure if its
> > name make much sense, specially from ThunarxRenamers
> > obs2: maybe ThunarxAction would make more sense, maybe not, but of
> > course the "breakage" would be smaller.
> >
> > Provider interfaces affected:
> > - ThunarxMenuProvider — The interface to extensions that provide
> > additional menu items
> > - ThunarxPreferencesProvider — The interface to extensions that
> > provide preferences
> > - ThunarxRenamerProvider — The interface to extensions that
> > provide additional bulk renamers
> >
> > Methods changed:
> > - thunarx_menu_provider_get_file_actions ->
> > thunarx_menu_provider_get_file_menu_items
> > - thunarx_menu_provider_get_folder_actions ->
> > thunarx_menu_provider_get_folder_menu_items
> > - thunarx_menu_provider_get_dnd_actions ->
> > thunarx_menu_provider_get_dnd_menu_items
> > - thunarx_preferences_provider_get_actions ->
> > thunarx_preferences_provider_get_menu_items
> > - thunarx_renamer_get_actions -> thunarx_renamer_get_menu_items
> >
> > Plugins/components TODO list (marked items are updated):
> > [X] thunar-advanced-properties ("apr", bundled with thunar)
> > [X] thunar-simple-builtin-renamers ("sbr", bundled with thunar)
> > [X] thunar-sendto-email (bundled with thunar)
> > [X] thunar-trash-panel-applet ("tpa, bundled with thunar)
> > [X] thunar-user-customizable-actions ("uca", bundled with thunar)
> > [X] thunar-wallpaper-plugin (bundled with thunar)
> > [ ] thunar-actions-plugin
> > [X] thunar-archive-plugin (WIP available in [2])
> > [ ] thunar-media-tags-plugin
> > [ ] thunar-shares-plugin
> > [ ] thunar-vcs-plugin
> > [ ] xfdesktop
> > [ ] anything else depends on thunarx?
> >
> >
> > Thunarx-python (or was python-thunarx) which is the base for
> > Dropbox-thunar plugin rabbitcvs-thunar plugin, Nilfs-thunar plugin,
> > InSync-thunar plugin.
> >
> > I think that the only one last.
> >
> > An option is to provide what this plugin do in thunar itself binding
> > for python to thunar or the "same" kinds of tools
> >
> >
> > What I ask:
> > - review the API changes and how things were renamed
> > - review how ThunarxMenuItem are internally translated into
> > GtkAction (thunar-util.c:thunar_util_action_from_menu_item)
> > - test!
> >
> > 1 - https://github.com/andreldm/thunar/tree/gtkaction-replacement
> > <https://github.com/andreldm/thunar/tree/gtkaction-replacement>
> > 2 - https://github.com/andreldm/thunar-archive-plugin
> > <https://github.com/andreldm/thunar-archive-plugin>
> >
> > Cheers,
> > Andre Miranda
> > _______________________________________________
> > Xfce4-dev mailing list
> > Xfce4-dev at xfce.org <mailto:Xfce4-dev at xfce.org>
> > https://mail.xfce.org/mailman/listinfo/xfce4-dev
> > <https://mail.xfce.org/mailman/listinfo/xfce4-dev>
> >
> >
> >
> >
> > _______________________________________________
> > Xfce4-dev mailing list
> > Xfce4-dev at xfce.org
> > https://mail.xfce.org/mailman/listinfo/xfce4-dev
>
--
olivier
More information about the Xfce4-dev
mailing list