Hello there

To manage active state of toolbox menu items (save and save-as could be 
inactive if no canevas opened) , looklike i need to convert the wall 
menu construction :

from 
"filemenu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::Stock:NEW 
....."
to "action_group->add 
(App:ui_manager()->get_action("/menu-main/menu-file/new"

It's quite similar with the way canevasview:: use to build his popup 
menu (in canevasview without Gtk:Action:create() but 
ui_manager()->get_action() )

What do you think about this "improvement" ?

related to :
http://synfig.org/issues/thebuggenie/synfig/issues/462

-- 
[##___l'urgent est remis a demain, l'impossible est en cours...___##]


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to