Add stock icons for 'connect' and 'disconnect'.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 26 Oct 2007 00:38:18 +0000 (00:38 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 26 Oct 2007 00:38:18 +0000 (00:38 +0000)
git-svn-id: http://svn.voria.com/code@981 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 2afde90..d5e55c6 100644 (file)
@@ -352,6 +352,8 @@ studio::get_action_stock_id(const synfigapp::Action::BookEntry& action)
        else if(action.task=="set_on")          stock_id=Gtk::Stock::YES;
        else if(action.task=="set_off")         stock_id=Gtk::Stock::NO;
        else if(action.task=="remove")          stock_id=Gtk::Stock::DELETE;
+       else if(action.task=="connect")         stock_id=Gtk::Stock::CONNECT;
+       else if(action.task=="disconnect")      stock_id=Gtk::Stock::DISCONNECT;
        else                                                            stock_id=Gtk::StockID("synfig-"+action.task);
 
        return stock_id;