The bline tool was sometimes showing the first duck in the new bline as green once...
[synfig.git] / synfig-studio / trunk / src / gtkmm / dock_layers.cpp
index 0ed3dcc..12bbe0f 100644 (file)
@@ -6,7 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-**     Copyright (c) 2007 Chris Moore
+**     Copyright (c) 2007, 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -120,7 +120,7 @@ Dock_Layers::Dock_Layers():
                for(iter=category_map.begin();iter!=category_map.end();++iter)
                {
                        layer_ui_info+=strprintf("<menu action='%s'>%s</menu>",iter->first.c_str(),iter->second.c_str());
-                       action_group_categories->add(Gtk::Action::create(iter->first.c_str(),iter->first.c_str()));
+                       action_group_categories->add(Gtk::Action::create(iter->first.c_str(),dgettext("synfig", iter->first.c_str())));
                }
 
                layer_ui_info+="</menu></menu></popup></ui>";
@@ -151,6 +151,7 @@ Dock_Layers::Dock_Layers():
        "       <toolitem action='action-layer_raise' />"
        "       <toolitem action='action-layer_lower' />"
        "       <toolitem action='action-layer_duplicate' />"
+       "       <toolitem action='action-layer_encapsulate' />"
        "       <toolitem action='action-layer_remove' />"
        "       <toolitem action='cut' />"
        "       <toolitem action='copy' />"