Sorted the cases in studio::value_icon() into the same order as the types appear...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 10 Jan 2008 14:17:47 +0000 (14:17 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 10 Jan 2008 14:17:47 +0000 (14:17 +0000)
git-svn-id: http://svn.voria.com/code@1308 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 95b4596..7a44ac2 100644 (file)
@@ -271,42 +271,42 @@ studio::value_icon(synfig::ValueBase::Type type)
 {
                switch(type)
                {
-               case ValueBase::TYPE_REAL:
-                       return Gtk::StockID("synfig-real");
+               case ValueBase::TYPE_BOOL:
+                       return Gtk::StockID("synfig-bool");
                        break;
                case ValueBase::TYPE_INTEGER:
                        return Gtk::StockID("synfig-integer");
                        break;
-               case ValueBase::TYPE_BOOL:
-                       return Gtk::StockID("synfig-bool");
-                       break;
                case ValueBase::TYPE_ANGLE:
                        return Gtk::StockID("synfig-angle");
                        break;
+               case ValueBase::TYPE_REAL:
+                       return Gtk::StockID("synfig-real");
+                       break;
                case ValueBase::TYPE_VECTOR:
                        return Gtk::StockID("synfig-vector");
                        break;
                case ValueBase::TYPE_COLOR:
                        return Gtk::StockID("synfig-color");
                        break;
-               case ValueBase::TYPE_STRING:
-                       return Gtk::StockID("synfig-string");
+               case ValueBase::TYPE_SEGMENT:
+                       return Gtk::StockID("synfig-segment");
                        break;
-               case ValueBase::TYPE_CANVAS:
-                       return Gtk::StockID("synfig-canvas_pointer");
+               case ValueBase::TYPE_BLINEPOINT:
+                       return Gtk::StockID("synfig-blinepoint");
                        break;
                case ValueBase::TYPE_LIST:
                        return Gtk::StockID("synfig-list");
                        break;
-               case ValueBase::TYPE_SEGMENT:
-                       return Gtk::StockID("synfig-segment");
+               case ValueBase::TYPE_CANVAS:
+                       return Gtk::StockID("synfig-canvas_pointer");
+                       break;
+               case ValueBase::TYPE_STRING:
+                       return Gtk::StockID("synfig-string");
                        break;
                case ValueBase::TYPE_GRADIENT:
                        return Gtk::StockID("synfig-gradient");
                        break;
-               case ValueBase::TYPE_BLINEPOINT:
-                       return Gtk::StockID("synfig-blinepoint");
-                       break;
                case ValueBase::TYPE_NIL:
                default:
                        return Gtk::StockID("synfig-unknown");