Add a 'show all child layers' button to the layer dialog when a single pastecanvas...
[synfig.git] / synfig-studio / trunk / src / gtkmm / canvasview.cpp
index d20c6ec..3af3417 100644 (file)
@@ -6,7 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-**     Copyright (c) 2007 Chris Moore
+**     Copyright (c) 2007, 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -1203,7 +1203,7 @@ CanvasView::init_menus()
                sigc::hide_return(sigc::ptr_fun(&studio::App::new_instance))
        );
        action_group->add( Gtk::Action::create("open", Gtk::Stock::OPEN),
-               sigc::hide_return(sigc::ptr_fun(&studio::App::dialog_open))
+               sigc::hide_return(sigc::mem_fun(*get_instance().get(), &studio::Instance::open))
        );
        action_group->add( Gtk::Action::create("save", Gtk::Stock::SAVE),
                hide_return(sigc::mem_fun(*get_instance().get(), &studio::Instance::save))