[Xfce-bugs] [Bug 14045] Add annotation to renamer method to improve introspection

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Dec 6 14:53:26 CET 2017


https://bugzilla.xfce.org/show_bug.cgi?id=14045

--- Comment #4 from Adam Plumb <adamplumb at gmail.com> ---
I think there are probably two solutions to this:

1) The extension methods that call into providers should not be introspectable.
 I'm not sure there is any usefulness in having those be introspectable, unless
we want other programs to be able to call into them.  Really, they're only
useful for Thunar to call into extension providers.  Also, this would require
no changes in thunarx-python extensions.

2) Modify thunarx-python extensions to not sub-class Thunarx provider classes,
but instead to create a new set of provider classes like
ThunarxPythonMenuProvider which they would then sub-class instead.  This would
prevent any kind of collisions in the future.

I'm sort of leaning towards #2, which seems more correct to me.  And since
we're breaking compatibility in this release anyway, it doesn't hurt to add to
the breakage, which is minor.

What do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list