X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Ficoncontroller.cpp;h=200c6ff702bae63763112e725d7819083458aefa;hb=282b5162f219e2114a59a00743180b45c238680f;hp=843b064f05242d2b0ed46c0d7bf7245ac551b1de;hpb=464e1f22b4481c2e6a08c601ef9b4ca0531ab267;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp index 843b064..200c6ff 100644 --- a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp @@ -163,6 +163,7 @@ IconController::IconController(const synfig::String& /*basepath*/) INIT_STOCK_ICON(grid_snap_disable,"grid_snap_disable_icon."IMAGE_EXT,_("Disable Grid Snap")); INIT_STOCK_ICON(duplicate,"duplicate_icon."IMAGE_EXT,_("Duplicate")); INIT_STOCK_ICON(encapsulate,"encapsulate_icon."IMAGE_EXT,_("Encapsulate")); + INIT_STOCK_ICON(select_all_child_layers,"select_all_child_layers_icon."IMAGE_EXT,_("Select All Child Layers")); INIT_STOCK_ICON(clear_undo,"clear_undo_icon."IMAGE_EXT,_("Clear Undo Stack")); INIT_STOCK_ICON(clear_redo,"clear_redo_icon."IMAGE_EXT,_("Clear Redo Stack")); @@ -332,7 +333,8 @@ studio::get_tree_pixbuf(synfig::ValueBase::Type type) //return Gtk::Button().render_icon(value_icon(type),Gtk::ICON_SIZE_SMALL_TOOLBAR); return _tree_pixbuf_table_value_type[int(type)]; } - +#define TEMPORARY_DELETE_MACRO DELETE +#undef DELETE Gtk::StockID studio::get_action_stock_id(const synfigapp::Action::BookEntry& action) { @@ -352,6 +354,8 @@ studio::get_action_stock_id(const synfigapp::Action::BookEntry& action) action.task); return stock_id; } +#define DELETE TEMPORARY_DELETE_MACRO +#undef TEMPORARY_DELETE_MACRO Gtk::StockID studio::layer_icon(const synfig::String &layer)