X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Ficoncontroler.cpp;h=2e4aa0af19e75375e16b22a17e2e6fcbbee00b4c;hb=c3ad95144d148602f672e95ddda1f18fc35502f8;hp=95d5893f1767c1f98fc1cdfc585608f8896b7f75;hpb=837b63e9fb829d66d43f4f169861f8979f76820d;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp b/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp index 95d5893..2e4aa0a 100644 --- a/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp +++ b/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp @@ -72,7 +72,11 @@ using namespace synfig; static Glib::RefPtr _tree_pixbuf_table_value_type[(int)synfig::ValueBase::TYPE_END]; +#ifdef WIN32 IconControler::IconControler(const synfig::String& basepath) +#else +IconControler::IconControler(const synfig::String& /*basepath*/) +#endif { Gtk::IconSource icon_source; icon_source.set_direction_wildcarded(); @@ -150,7 +154,7 @@ IconControler::IconControler(const synfig::String& basepath) INIT_STOCK_ICON(saveall,"saveall_icon."IMAGE_EXT,_("Save All")); INIT_STOCK_ICON(bool,"bool_icon."IMAGE_EXT,_("Bool")); INIT_STOCK_ICON(layer,"layer_icon."IMAGE_EXT,_("Layer")); - INIT_STOCK_ICON(layer_pastecanvas,"pastecanvas_icon."IMAGE_EXT,_("PasteCanvas")); + INIT_STOCK_ICON(layer_pastecanvas,"pastecanvas_icon."IMAGE_EXT,_("Paste Canvas")); INIT_STOCK_ICON(group,"group_icon."IMAGE_EXT,_("Group")); INIT_STOCK_ICON(grid_enable,"grid_enable_icon."IMAGE_EXT,_("Show Grid")); INIT_STOCK_ICON(grid_disable,"grid_disable_icon."IMAGE_EXT,_("Hide Grid")); @@ -164,6 +168,7 @@ IconControler::IconControler(const synfig::String& basepath) INIT_STOCK_ICON(clear_redo,"clear_redo_icon."IMAGE_EXT,_("Clear Redo Stack")); INIT_STOCK_ICON(children,"children_icon."IMAGE_EXT,_("Children")); + INIT_STOCK_ICON(curves,"curves_icon."IMAGE_EXT,_("Curves")); INIT_STOCK_ICON(keyframes,"keyframe_icon."IMAGE_EXT,_("Keyframes")); INIT_STOCK_ICON(meta_data,"meta_data_icon."IMAGE_EXT,_("MetaData")); INIT_STOCK_ICON(navigator,"navigator_icon."IMAGE_EXT,_("Navigator")); @@ -354,7 +359,7 @@ studio::get_action_stock_id(const synfigapp::Action::BookEntry& action) Gtk::StockID studio::layer_icon(const synfig::String &layer) { - if(layer=="PasteCanvas" || layer=="pastecanvas") + if(layer=="PasteCanvas" || layer=="pastecanvas" || layer=="paste_canvas") return Gtk::StockID("synfig-layer_pastecanvas"); else if(layer=="rotate") return Gtk::StockID("synfig-rotate");