projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the #defines for ADD_VALUENODE and ADD_VALUENODE2 more readable.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
state_width.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/state_width.cpp
b/synfig-studio/trunk/src/gtkmm/state_width.cpp
index
bc2d723
..
5af6765
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_width.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_width.cpp
@@
-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();
//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::StateWidth_Context::on_user_click));
// Connect a signal
//get_work_area()->signal_user_click().connect(sigc::mem_fun(*this,&studio::StateWidth_Context::on_user_click));
@@
-341,9
+341,8
@@
StateWidth_Context::~StateWidth_Context()
// Tool options be rid of ye!!
App::dialog_tool_options->clear();
// 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();
// Bring back the tables if they were out before
//if(prev_table_status)get_canvas_view()->show_tables();