GTG

Simplify preferences dialogs for plugins

Registered by Paul Natsuo Kishimoto on 2010-02-27

With the Preferences window, I put a toplevel item called "PluginConfigDialog" in GTG/taskbrowser/taskbrowser.glade and a TODO item in line 282 of GTG/taskbrowser/preferences.py.

The idea was that, instead of having to have the full UI for a preferences window in each plugin, the plugin's .glade or .ui would only contain the UI elements that would go *in* such a window. The PluginConfigDialog could be reused by filling it with the appropriate preferences UI for the selected plugin, before showing it.

This would make plugin writing easier, and improve consistency across plugins. E.g. bug #529194 arose because there were differences in how plugin preferences windows were described across several GtkBuilder files.

Implementing this spec would require updating all plugins to support the new format.

Blueprint information

Status:
Not started
Approver:
Gtg developers
Priority:
Undefined
Drafter:
Paul Natsuo Kishimoto
Direction:
Needs approval
Assignee:
Gtg contributors
Definition:
Review
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.