From: dooglus Date: Thu, 10 Jan 2008 14:17:47 +0000 (+0000) Subject: Sorted the cases in studio::value_icon() into the same order as the types appear... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1add9f3704f043ae06e938fb8f882da4017ebdf4;p=synfig.git Sorted the cases in studio::value_icon() into the same order as the types appear in value.h. git-svn-id: http://svn.voria.com/code@1308 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp index 95b4596..7a44ac2 100644 --- a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp @@ -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");