projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use LinkableValueNode members functions when possible in the derived valuenodes.
[synfig.git]
/
synfig-core
/
src
/
synfig
/
canvas.cpp
diff --git
a/synfig-core/src/synfig/canvas.cpp
b/synfig-core/src/synfig/canvas.cpp
index
eeecdb0
..
87b6088
100644
(file)
--- a/
synfig-core/src/synfig/canvas.cpp
+++ b/
synfig-core/src/synfig/canvas.cpp
@@
-714,7
+714,7
@@
Canvas::insert(iterator iter,etl::handle<Layer> x)
Layer::LooseHandle loose_layer(x);
add_connection(loose_layer,
Layer::LooseHandle loose_layer(x);
add_connection(loose_layer,
- sigc::connection
::connection
(
+ sigc::connection(
x->signal_added_to_group().connect(
sigc::bind(
sigc::mem_fun(
x->signal_added_to_group().connect(
sigc::bind(
sigc::mem_fun(
@@
-722,7
+722,7
@@
Canvas::insert(iterator iter,etl::handle<Layer> x)
&Canvas::add_group_pair),
loose_layer))));
add_connection(loose_layer,
&Canvas::add_group_pair),
loose_layer))));
add_connection(loose_layer,
- sigc::connection
::connection
(
+ sigc::connection(
x->signal_removed_from_group().connect(
sigc::bind(
sigc::mem_fun(
x->signal_removed_from_group().connect(
sigc::bind(
sigc::mem_fun(
@@
-774,7
+774,7
@@
Canvas::clone(const GUID& deriv_guid)const
{
synfig::String name;
if(is_inline())
{
synfig::String name;
if(is_inline())
- name=
"inline"
;
+ name=
_("in line")
;
else
{
name=get_id()+"_CLONE";
else
{
name=get_id()+"_CLONE";
@@
-839,7
+839,7
@@
Canvas::set_inline(LooseHandle parent)
}
}
- id_=
"inline"
;
+ id_=
_("in line")
;
is_inline_=true;
parent_=parent;
is_inline_=true;
parent_=parent;
@@
-862,7
+862,7
@@
Canvas::create_inline(Handle parent)
//if(parent->is_inline())
// return create_inline(parent->parent());
//if(parent->is_inline())
// return create_inline(parent->parent());
- Handle canvas(new Canvas(
"inline"
));
+ Handle canvas(new Canvas(
_("in line")
));
canvas->set_inline(parent);
return canvas;
}
canvas->set_inline(parent);
return canvas;
}