~ubuntu-branches/ubuntu/wily/bombono-dvd/wily

« back to all changes in this revision

Viewing changes to src/mgui/editor/kit.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101104114625-8xfdhvhpsm51i0nu
Tags: upstream-0.8.0
Import upstream version 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
 
64
64
    // по умолчанию
65
65
    ChangeToSelectTool(*this);
66
 
    using namespace boost;
67
66
    toolbar.selTool.signal_toggled().connect( 
68
 
        lambda::bind(&EditorToolToggled, boost::ref(toolbar.selTool), boost::ref(*this)) );
 
67
        bb::bind(&EditorToolToggled, boost::ref(toolbar.selTool), boost::ref(*this)) );
69
68
 
70
69
    LoadMenu(0);
71
70
 
240
239
 
241
240
void ClearLocalData(MenuRegion& m_rgn, const std::string& tag)
242
241
{
243
 
    using namespace boost;
244
 
    function<void(DataWare&)> clear_fnr;
 
242
    boost::function<void(DataWare&)> clear_fnr;
245
243
    if( tag.empty() )
246
 
        clear_fnr = lambda::bind(&ClearDataWare, lambda::_1);
 
244
        clear_fnr = bb::bind(&ClearDataWare, _1);
247
245
    else
248
 
        clear_fnr = lambda::bind(&ClearDataWareTag, lambda::_1, tag.c_str());
 
246
        clear_fnr = bb::bind(&ClearDataWareTag, _1, tag.c_str());
249
247
 
250
248
    clear_fnr(m_rgn);
251
249
    for( Comp::ListObj::Itr itr = m_rgn.List().begin(), end = m_rgn.List().end();