Sorted alphabetically.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 26 Oct 2007 00:38:27 +0000 (00:38 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 26 Oct 2007 00:38:27 +0000 (00:38 +0000)
git-svn-id: http://svn.voria.com/code@982 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index d5e55c6..59a4e26 100644 (file)
@@ -342,20 +342,20 @@ Gtk::StockID
 studio::get_action_stock_id(const synfigapp::Action::BookEntry& action)
 {
        Gtk::StockID stock_id;
-       if(action.task=="raise")                        stock_id=Gtk::Stock::GO_UP;
-       else if(action.task=="lower")           stock_id=Gtk::Stock::GO_DOWN;
-       else if(action.task=="add")                     stock_id=Gtk::Stock::ADD;
+       if(action.task=="add")                          stock_id=Gtk::Stock::ADD;
+       else if(action.task=="connect")         stock_id=Gtk::Stock::CONNECT;
+       else if(action.task=="disconnect")      stock_id=Gtk::Stock::DISCONNECT;
        else if(action.task=="insert")          stock_id=Gtk::Stock::ADD;
-       else if(action.task=="move_top")        stock_id=Gtk::Stock::GOTO_TOP;
+       else if(action.task=="lower")           stock_id=Gtk::Stock::GO_DOWN;
        else if(action.task=="move_bottom")     stock_id=Gtk::Stock::GOTO_BOTTOM;
+       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=="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);
-
+       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-"+
+                                                                                                                         action.task);
        return stock_id;
 }