X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_width.cpp;h=c7d50bbecd00186fb8b7bf3120a33939ba54a9bb;hb=4ec81d053bf1d0cbcd9f0bf048914ec8eca08f4c;hp=b020369fa4d3721395e1c3222ebabedd846467e7;hpb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_width.cpp b/synfig-studio/trunk/src/gtkmm/state_width.cpp index b020369..c7d50bb 100644 --- a/synfig-studio/trunk/src/gtkmm/state_width.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_width.cpp @@ -1,8 +1,8 @@ /* === S Y N F I G ========================================================= */ -/*! \file state_gradient.cpp +/*! \file state_width.cpp ** \brief Template File ** -** $Id: state_width.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -288,8 +288,8 @@ StateWidth_Context::StateWidth_Context(CanvasView* canvas_view): //prev_table_status=get_canvas_view()->tables_are_visible(); //if(prev_table_status)get_canvas_view()->hide_tables(); - // Hide the time bar - //get_canvas_view()->hide_timebar(); + // Disable the time bar + //get_canvas_view()->set_sensitive_timebar(false); // Connect a signal //get_work_area()->signal_user_click().connect(sigc::mem_fun(*this,&studio::StateWidth_Context::on_user_click)); @@ -307,7 +307,7 @@ StateWidth_Context::refresh_tool_options() } Smach::event_result -StateWidth_Context::event_refresh_tool_options(const Smach::event& x) +StateWidth_Context::event_refresh_tool_options(const Smach::event& /*x*/) { refresh_tool_options(); return Smach::RESULT_ACCEPT; @@ -341,9 +341,8 @@ StateWidth_Context::~StateWidth_Context() // Tool options be rid of ye!! App::dialog_tool_options->clear(); - // Show the time bar - if(get_canvas_view()->get_canvas()->rend_desc().get_time_start()!=get_canvas_view()->get_canvas()->rend_desc().get_time_end()) - get_canvas_view()->show_timebar(); + // Enable the time bar + //get_canvas_view()->set_sensitive_timebar(true); // Bring back the tables if they were out before //if(prev_table_status)get_canvas_view()->show_tables(); @@ -355,13 +354,13 @@ StateWidth_Context::~StateWidth_Context() } Smach::event_result -StateWidth_Context::event_stop_handler(const Smach::event& x) +StateWidth_Context::event_stop_handler(const Smach::event& /*x*/) { throw Smach::egress_exception(); } Smach::event_result -StateWidth_Context::event_refresh_handler(const Smach::event& x) +StateWidth_Context::event_refresh_handler(const Smach::event& /*x*/) { refresh_ducks(); return Smach::RESULT_ACCEPT;