Multiple selection support (r480) breaks plugin API and Hamster plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Medium
|
Luca Invernizzi |
Bug Description
The plugin api's get_selected_task() method uses a function that doesn't work when the treeview is set to allow multiple selection.
The answer is to have the function call the browser's get_selected_task() method instead. We should probably also expose get_selected_
I thought it was that simple, but ...
Is there a reason the PluginAPI doesn't hold a reference to the browser object, just to a bunch of its components? I wonder what other plugin API methods are already implemented in the browser or could be simplified by being able to use browser methods.
Traceback (most recent call last):
File "/home/
self.
File "/home/
model, iter = selected.
TypeError: GtkTreeSelectio
Changed in gtg: | |
milestone: | 0.3 → 0.2.1 |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
The problem is now fixed.
I agree with you that it doesn't make much sense to duplicate the code. You should open another bug for that.