X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdock_layers.cpp;h=766f4a2bdf250a101c083d17967e417f1ed6e81f;hb=0348d0c0f02151293190a0db10ce92d7b112aa9e;hp=03d9d5963ab413702206a35cfc606306f18969ac;hpb=837b63e9fb829d66d43f4f169861f8979f76820d;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dock_layers.cpp b/synfig-studio/trunk/src/gtkmm/dock_layers.cpp index 03d9d59..766f4a2 100644 --- a/synfig-studio/trunk/src/gtkmm/dock_layers.cpp +++ b/synfig-studio/trunk/src/gtkmm/dock_layers.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 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 @@ -45,6 +46,8 @@ #include "layeractionmanager.h" //#include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -111,7 +114,7 @@ Dock_Layers::Dock_Layers(): Glib::RefPtr action_group_categories(Gtk::ActionGroup::create("layer-category")); synfig::String layer_ui_info; - layer_ui_info+=""; + layer_ui_info+=""; std::map::iterator iter; for(iter=category_map.begin();iter!=category_map.end();++iter) @@ -120,7 +123,7 @@ Dock_Layers::Dock_Layers(): action_group_categories->add(Gtk::Action::create(iter->first.c_str(),iter->first.c_str())); } - layer_ui_info+=""; + layer_ui_info+=""; App::ui_manager()->insert_action_group(action_group_categories); App::ui_manager()->insert_action_group(action_group_new_layers); @@ -128,7 +131,7 @@ Dock_Layers::Dock_Layers(): } - action_group_layer_ops->add( Gtk::Action::create("toolbar-layer", "Layer Ops") ); + action_group_layer_ops->add( Gtk::Action::create("toolbar-layer", _("Layer Ops")) ); App::ui_manager()->insert_action_group(action_group_layer_ops);