Add code for the 'star' icon.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 26 Mar 2008 23:25:35 +0000 (23:25 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 26 Mar 2008 23:25:35 +0000 (23:25 +0000)
git-svn-id: http://svn.voria.com/code@1926 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/iconcontroller.cpp

index 225c89a..b673c26 100644 (file)
@@ -157,6 +157,7 @@ IconController::IconController(const synfig::String& /*basepath*/)
        INIT_STOCK_ICON(saveall,"saveall_icon."IMAGE_EXT,_("Save All"));
        INIT_STOCK_ICON(layer,"layer_icon."IMAGE_EXT,_("Layer"));
        INIT_STOCK_ICON(layer_pastecanvas,"pastecanvas_icon."IMAGE_EXT,_("Paste Canvas"));
+       INIT_STOCK_ICON(star,"star_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"));
@@ -384,6 +385,8 @@ studio::layer_icon(const synfig::String &layer)
                return Gtk::StockID("synfig-circle");
        else if(layer=="rectangle")
                return Gtk::StockID("synfig-rectangle");
+       else if(layer=="star")
+               return Gtk::StockID("synfig-star");
        else if(layer.find("gradient")!=String::npos)
                return Gtk::StockID("synfig-gradient");
        else