From 703137ea9f6084f99c34b9e14c47a5e45b21b4a3 Mon Sep 17 00:00:00 2001 From: dooglus Date: Wed, 26 Mar 2008 23:26:00 +0000 Subject: [PATCH] Add code for the 'text' icon. git-svn-id: http://svn.voria.com/code@1928 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/iconcontroller.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp index 76c874c..2af5543 100644 --- a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp @@ -159,6 +159,7 @@ IconController::IconController(const synfig::String& /*basepath*/) INIT_STOCK_ICON(layer_pastecanvas,"pastecanvas_icon."IMAGE_EXT,_("Paste Canvas")); INIT_STOCK_ICON(star,"star_icon."IMAGE_EXT,""); INIT_STOCK_ICON(plant,"plant_icon."IMAGE_EXT,""); + INIT_STOCK_ICON(text,"text_icon."IMAGE_EXT,""); 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")); @@ -390,6 +391,8 @@ studio::layer_icon(const synfig::String &layer) return Gtk::StockID("synfig-star"); else if(layer=="plant") return Gtk::StockID("synfig-plant"); + else if(layer=="text") + return Gtk::StockID("synfig-text"); else if(layer.find("gradient")!=String::npos) return Gtk::StockID("synfig-gradient"); else -- 2.7.4