summaryrefslogtreecommitdiffstats
path: root/src/selection-describer.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-09-19 22:33:11 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-09-19 22:33:11 +0000
commit4bda89e32e33c7bdff5d3ea3c1ceee1f806de9f7 (patch)
treecaeb924426bcc861badc6fa81318b67460b26d47 /src/selection-describer.cpp
parentUpdate to trunk (diff)
parentupdates for cmake (diff)
downloadinkscape-4bda89e32e33c7bdff5d3ea3c1ceee1f806de9f7.tar.gz
inkscape-4bda89e32e33c7bdff5d3ea3c1ceee1f806de9f7.zip
Update to trunk
(bzr r11950.1.141)
Diffstat (limited to 'src/selection-describer.cpp')
-rw-r--r--src/selection-describer.cpp86
1 files changed, 44 insertions, 42 deletions
diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp
index b5704bb76..4c2229667 100644
--- a/src/selection-describer.cpp
+++ b/src/selection-describer.cpp
@@ -38,51 +38,53 @@
#include "sp-polyline.h"
#include "sp-spiral.h"
+// CPPIFY: this is ugly.
static const gchar *
type2term(SPItem *item)
{
- GType type = G_OBJECT_TYPE( item );
- if (type == SP_TYPE_ANCHOR)
- //TRANSLATORS: "Link" means internet link (anchor)
- { return C_("Web", "Link"); }
- if (type == SP_TYPE_CIRCLE)
- { return _("Circle"); }
- if (type == SP_TYPE_ELLIPSE)
- { return _("Ellipse"); }
- if (type == SP_TYPE_FLOWTEXT)
- { return _("Flowed text"); }
- if (type == SP_TYPE_GROUP)
- { return _("Group"); }
- if (type == SP_TYPE_IMAGE)
- { return _("Image"); }
- if (type == SP_TYPE_LINE)
- { return _("Line"); }
- if (type == SP_TYPE_PATH)
- { return _("Path"); }
- if (type == SP_TYPE_POLYGON)
- { return _("Polygon"); }
- if (type == SP_TYPE_POLYLINE)
- { return _("Polyline"); }
- if (type == SP_TYPE_RECT)
- { return _("Rectangle"); }
- if (type == SP_TYPE_BOX3D)
- { return _("3D Box"); }
- if (type == SP_TYPE_TEXT)
- { return C_("Object", "Text"); }
- if (type == SP_TYPE_USE)
- if (SP_IS_SYMBOL(item->firstChild()))
- { return C_("Object", "Symbol"); }
- // TRANSLATORS: "Clone" is a noun, type of object
- { return C_("Object", "Clone"); }
- if (type == SP_TYPE_ARC)
- { return _("Ellipse"); }
- if (type == SP_TYPE_OFFSET)
- { return _("Offset path"); }
- if (type == SP_TYPE_SPIRAL)
- { return _("Spiral"); }
- if (type == SP_TYPE_STAR)
- { return _("Star"); }
- return NULL;
+// GType type = G_OBJECT_TYPE( item );
+// if (type == SP_TYPE_ANCHOR)
+// //TRANSLATORS: "Link" means internet link (anchor)
+// { return C_("Web", "Link"); }
+// if (type == SP_TYPE_CIRCLE)
+// { return _("Circle"); }
+// if (type == SP_TYPE_ELLIPSE)
+// { return _("Ellipse"); }
+// if (type == SP_TYPE_FLOWTEXT)
+// { return _("Flowed text"); }
+// if (type == SP_TYPE_GROUP)
+// { return _("Group"); }
+// if (type == SP_TYPE_IMAGE)
+// { return _("Image"); }
+// if (type == SP_TYPE_LINE)
+// { return _("Line"); }
+// if (type == SP_TYPE_PATH)
+// { return _("Path"); }
+// if (type == SP_TYPE_POLYGON)
+// { return _("Polygon"); }
+// if (type == SP_TYPE_POLYLINE)
+// { return _("Polyline"); }
+// if (type == SP_TYPE_RECT)
+// { return _("Rectangle"); }
+// if (type == SP_TYPE_BOX3D)
+// { return _("3D Box"); }
+// if (type == SP_TYPE_TEXT)
+// { return C_("Object", "Text"); }
+// if (type == SP_TYPE_USE)
+// if (SP_IS_SYMBOL(item->firstChild()))
+// { return C_("Object", "Symbol"); }
+// // TRANSLATORS: "Clone" is a noun, type of object
+// { return C_("Object", "Clone"); }
+// if (type == SP_TYPE_ARC)
+// { return _("Ellipse"); }
+// if (type == SP_TYPE_OFFSET)
+// { return _("Offset path"); }
+// if (type == SP_TYPE_SPIRAL)
+// { return _("Spiral"); }
+// if (type == SP_TYPE_STAR)
+// { return _("Star"); }
+// return NULL;
+ return "Selektion-Describer ---";
}
static GSList *collect_terms (GSList *items)