Removed duplicate code for 'remove's icon.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 26 Oct 2007 00:38:34 +0000 (00:38 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 26 Oct 2007 00:38:34 +0000 (00:38 +0000)
git-svn-id: http://svn.voria.com/code@983 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 59a4e26..3e263b1 100644 (file)
@@ -351,7 +351,6 @@ studio::get_action_stock_id(const synfigapp::Action::BookEntry& action)
        else if(action.task=="move_top")        stock_id=Gtk::Stock::GOTO_TOP;
        else if(action.task=="raise")           stock_id=Gtk::Stock::GO_UP;
        else if(action.task=="remove")          stock_id=Gtk::Stock::DELETE;
-       else if(action.task=="remove")          stock_id=Gtk::Stock::DELETE;
        else if(action.task=="set_off")         stock_id=Gtk::Stock::NO;
        else if(action.task=="set_on")          stock_id=Gtk::Stock::YES;
        else                                                            stock_id=Gtk::StockID("synfig-"+