From f26a17960daf8eca62ca03d3a3bdb61096e09c7b Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 26 Oct 2007 00:38:27 +0000 Subject: [PATCH] Sorted alphabetically. git-svn-id: http://svn.voria.com/code@982 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/iconcontroler.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp b/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp index d5e55c6..59a4e26 100644 --- a/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp +++ b/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp @@ -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; } -- 2.7.4