From: Carlos Lopez Date: Wed, 21 Apr 2010 20:29:25 +0000 (+0200) Subject: Add icon controllers for actions: export, unexport, set layer description, add and... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8a0e98dce9d9f4868ddf3f1929cde6ccf6e0ee1b;p=synfig.git Add icon controllers for actions: export, unexport, set layer description, add and remove to/from group) --- diff --git a/synfig-studio/src/gtkmm/iconcontroller.cpp b/synfig-studio/src/gtkmm/iconcontroller.cpp index 594e0bc..408b314 100644 --- a/synfig-studio/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/src/gtkmm/iconcontroller.cpp @@ -205,6 +205,11 @@ IconController::IconController(const synfig::String& /*basepath*/) INIT_STOCK_ICON(seek_prev_frame,"seek_prev_frame."IMAGE_EXT,_("Previous Frame")); INIT_STOCK_ICON(seek_next_frame,"seek_next_frame."IMAGE_EXT,_("Next Frame")); INIT_STOCK_ICON(seek_end,"seek_end."IMAGE_EXT,_("Seek to End")); + INIT_STOCK_ICON(add_to_group,"action_add_to_group_icon."IMAGE_EXT,_("Add Layer to Group")); + INIT_STOCK_ICON(remove_from_group,"action_remove_from_group_icon."IMAGE_EXT,_("Remove Layer from Group")); + INIT_STOCK_ICON(set_desc,"action_set_layer_description_icon."IMAGE_EXT,_("Set Layer Description")); + INIT_STOCK_ICON(export,"action_export_icon."IMAGE_EXT,_("Export Value Node")); + INIT_STOCK_ICON(unexport,"action_unexport_icon."IMAGE_EXT,_("Unexport Value Node")); INIT_STOCK_ICON(toggle_duck_position,"duck_position_icon."IMAGE_EXT,_("Toggle position ducks")); INIT_STOCK_ICON(toggle_duck_vertex,"duck_vertex_icon."IMAGE_EXT,_("Toggle vertex ducks")); diff --git a/synfig-studio/src/synfigapp/actions/groupaddlayers.cpp b/synfig-studio/src/synfigapp/actions/groupaddlayers.cpp index 42d3025..494bd5d 100644 --- a/synfig-studio/src/synfigapp/actions/groupaddlayers.cpp +++ b/synfig-studio/src/synfigapp/actions/groupaddlayers.cpp @@ -47,7 +47,7 @@ using namespace Action; ACTION_INIT(Action::GroupAddLayers); ACTION_SET_NAME(Action::GroupAddLayers,"GroupAddLayers"); ACTION_SET_LOCAL_NAME(Action::GroupAddLayers,N_("Add Layers to Group")); -ACTION_SET_TASK(Action::GroupAddLayers,"add"); +ACTION_SET_TASK(Action::GroupAddLayers,"add_to_group"); ACTION_SET_CATEGORY(Action::GroupAddLayers,Action::CATEGORY_LAYER|Action::CATEGORY_GROUP); ACTION_SET_PRIORITY(Action::GroupAddLayers,0); ACTION_SET_VERSION(Action::GroupAddLayers,"0.0"); diff --git a/synfig-studio/src/synfigapp/actions/groupremovelayers.cpp b/synfig-studio/src/synfigapp/actions/groupremovelayers.cpp index dc2140c..d5bf373 100644 --- a/synfig-studio/src/synfigapp/actions/groupremovelayers.cpp +++ b/synfig-studio/src/synfigapp/actions/groupremovelayers.cpp @@ -48,7 +48,7 @@ using namespace Action; ACTION_INIT(Action::GroupRemoveLayers); ACTION_SET_NAME(Action::GroupRemoveLayers,"GroupRemoveLayers"); ACTION_SET_LOCAL_NAME(Action::GroupRemoveLayers,N_("Remove Layers from a Group")); -ACTION_SET_TASK(Action::GroupRemoveLayers,"remove"); +ACTION_SET_TASK(Action::GroupRemoveLayers,"remove_from_group"); ACTION_SET_CATEGORY(Action::GroupRemoveLayers,Action::CATEGORY_LAYER|Action::CATEGORY_GROUP); ACTION_SET_PRIORITY(Action::GroupRemoveLayers,0); ACTION_SET_VERSION(Action::GroupRemoveLayers,"0.0"); diff --git a/synfig-studio/src/synfigapp/actions/valuenoderemove.cpp b/synfig-studio/src/synfigapp/actions/valuenoderemove.cpp index e192870..7fe955d 100644 --- a/synfig-studio/src/synfigapp/actions/valuenoderemove.cpp +++ b/synfig-studio/src/synfigapp/actions/valuenoderemove.cpp @@ -48,7 +48,7 @@ using namespace Action; ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueNodeRemove); ACTION_SET_NAME(Action::ValueNodeRemove,"ValueNodeRemove"); ACTION_SET_LOCAL_NAME(Action::ValueNodeRemove,N_("Unexport")); -ACTION_SET_TASK(Action::ValueNodeRemove,"remove"); +ACTION_SET_TASK(Action::ValueNodeRemove,"unexport"); ACTION_SET_CATEGORY(Action::ValueNodeRemove,Action::CATEGORY_VALUENODE); ACTION_SET_PRIORITY(Action::ValueNodeRemove,0); ACTION_SET_VERSION(Action::ValueNodeRemove,"0.0");