Fix 1697728: Code for 'End' was commented out, and code for 'Begin' was going to...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 10 Apr 2007 15:10:26 +0000 (15:10 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 10 Apr 2007 15:10:26 +0000 (15:10 +0000)
git-svn-id: http://svn.voria.com/code@451 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/canvasview.cpp
synfig-studio/trunk/src/synfigapp/canvasinterface.cpp

index 7ce3871..36e9f71 100644 (file)
@@ -1310,11 +1310,9 @@ CanvasView::init_menus()
                action=Gtk::Action::create("seek-prev-second", Gtk::Stock::GO_BACK,_("Seek Backward"),_("Seek Backward"));
                action_group->add( action, sigc::bind(sigc::mem_fun(*canvas_interface().get(), &synfigapp::CanvasInterface::seek_time),Time(-1)));
 
-               // Broken...!?
-               /*
                action=Gtk::Action::create("seek-end", Gtk::Stock::GOTO_LAST,_("Seek to End"),_("Seek to End"));
                action_group->add(action,sigc::bind(sigc::mem_fun(*canvas_interface().get(), &synfigapp::CanvasInterface::seek_time),Time::end()));
-               */
+
                action=Gtk::Action::create("seek-begin", Gtk::Stock::GOTO_FIRST,_("Seek to Begin"),_("Seek to Begin"));
                action_group->add( action, sigc::bind(sigc::mem_fun(*canvas_interface().get(), &synfigapp::CanvasInterface::seek_time),Time::begin()));
 
index 0f6872a..9b1f6a9 100644 (file)
@@ -843,7 +843,7 @@ CanvasInterface::seek_time(synfig::Time time)
        }
        if(time<=synfig::Time::begin())
        {
-               set_time(get_canvas()->rend_desc().get_time_end());
+               set_time(get_canvas()->rend_desc().get_time_start());
                return;
        }