https://bugzilla.xfce.org/show_bug.cgi?id=14045
Bug ID: 14045
Summary: Add annotation to renamer method to improve
introspection
Classification: Xfce Core
Product: Thunar
Version: 1.7.0
Hardware: PC (x86_64)
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: Thunarx
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Target Milestone: 1.8.0
Created attachment 7459
--> https://bugzilla.xfce.org/attachment.cgi?id=7459&action=edit
Annotations patch
The ThunarxRenamer.get_menu_items method calls into the ThunarxRenamer classes
created by extensions (through C, python, or otherwise) and currently it is
marked as not introspectable by the g-ir scanner. You can confirm this by
looking at the generated Thunarx-3.0.gir file and in that get_menu_items method
it says introspectable="0". This happens because there is something about the
function arguments or return value that the g-ir scanner doesn't understand,
and it needs annotation. What this means is that for thunarx-python extensions,
their get_menu_items callback is going to be ignored and they will be unable to
add custom menu items.
I'm including a patch to add the needed annotations.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs