Export plugin: Make it clickable in the menu #370
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Looks like since the GTK3 Headerbar switch, the new menus use ModelButtons instead of the old MenuItems.
Fixes the comment by nekohayo in #299.
Found using the GTK Inspector (Ctrl+Shift+i doesn't work for some reason, I used
GTK_DEBUG=interactive ./launch.sh
: (The export plugins menu entry is called "Exportiere die aktuell gelistete Aufgaben" here)Note that the plugin itself seems to be buggy, I couldn't export anything (to check what it really exports, like does it take into account the current filter being applied?)
When trying to export (using the open button), I just get an error message that the document couldn't be exported, and a reason is some python error, so there is still debugging to be done.
Possibly remove the plugin temporarily for the upcoming release, if there isn't enough time.
(BTW the "open" string when exporting conflicts with the "open" (view) string in the main window for the open tasks; There is an distinction in german, I would likely make an PR or Issue to mark the "open" (view) string in the main window specially, so it has its own translation)