projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CXXFLAGS is for users, use AM_CXXFLAGS instead
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
state_bline.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/state_bline.cpp
b/synfig-studio/trunk/src/gtkmm/state_bline.cpp
index
48168b5
..
c511366
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_bline.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_bline.cpp
@@
-2,7
+2,7
@@
/*! \file state_bline.cpp
** \brief Template File
**
/*! \file state_bline.cpp
** \brief Template File
**
-** $Id
: state_bline.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-369,8
+369,8
@@
StateBLine_Context::StateBLine_Context(CanvasView* canvas_view):
prev_table_status=get_canvas_view()->tables_are_visible();
if(prev_table_status)get_canvas_view()->hide_tables();
prev_table_status=get_canvas_view()->tables_are_visible();
if(prev_table_status)get_canvas_view()->hide_tables();
- //
Hid
e the time bar
- get_canvas_view()->
hide_timebar(
);
+ //
Disabl
e 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::StateBLine_Context::on_user_click));
// Connect a signal
//get_work_area()->signal_user_click().connect(sigc::mem_fun(*this,&studio::StateBLine_Context::on_user_click));
@@
-427,9
+427,8
@@
StateBLine_Context::~StateBLine_Context()
// Restore layer clicking
get_work_area()->allow_layer_clicks=prev_workarea_layer_status_;
// Restore layer clicking
get_work_area()->allow_layer_clicks=prev_workarea_layer_status_;
- // 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();
// Bring back the tables if they were out before
if(prev_table_status)get_canvas_view()->show_tables();