
On Sat, 2009-03-28 at 17:19 -0700, Krzysztof KosiĆski wrote:
Idea 4 is to replace Verbs with subclasses of Gtk::Action, with only one class per action (instead of one Verb class per several verbs). There would be a separate action group per document, and an additional one for global actions. Actions could be registered dynamically at startup.
This has come up several times in the past. For approaching this task one should go through the dev mailing archives and collect up the various issues raised there.
The one-to-one of one Gtk::Action per will work in some cases, but breaks down in others. So forcing one-to-one will complicate implementation of many of them.
Also Gtk::Action is a very UI-centric class. We need something abstract that can represent an action on 1) a document 2) a desktop 3) the "Application" itself.
the case of #2 can be replaced by Gtk::Action appropriately, but the others don't really match conceptually.