Add icon controllers for actions: export, unexport, set layer description, add and...
authorCarlos Lopez <genetita@gmail.com>
Wed, 21 Apr 2010 20:29:25 +0000 (22:29 +0200)
committerCarlos Lopez <genetita@gmail.com>
Wed, 21 Apr 2010 20:29:25 +0000 (22:29 +0200)
synfig-studio/src/gtkmm/iconcontroller.cpp
synfig-studio/src/synfigapp/actions/groupaddlayers.cpp
synfig-studio/src/synfigapp/actions/groupremovelayers.cpp
synfig-studio/src/synfigapp/actions/valuenoderemove.cpp

index 594e0bc..408b314 100644 (file)
@@ -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"));
index 42d3025..494bd5d 100644 (file)
@@ -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");
index dc2140c..d5bf373 100644 (file)
@@ -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");
index e192870..7fe955d 100644 (file)
@@ -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");