summaryrefslogtreecommitdiff
path: root/src/gui/piePreviewRenderer.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-01-27 21:34:48 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-01-27 21:34:48 +0100
commita824c3e5bdab686901b02667609282e7d596a6af (patch)
treede05c11d82468977683d65b39952f5e3ab3e2841 /src/gui/piePreviewRenderer.vala
parent21c8b0c749be00fff27e41e4c2d677dd7d320fa0 (diff)
Imported Upstream version 0.4.2upstream/0.4.2
Diffstat (limited to 'src/gui/piePreviewRenderer.vala')
-rw-r--r--src/gui/piePreviewRenderer.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/piePreviewRenderer.vala b/src/gui/piePreviewRenderer.vala
index 1cf83ff..6fff397 100644
--- a/src/gui/piePreviewRenderer.vala
+++ b/src/gui/piePreviewRenderer.vala
@@ -408,7 +408,7 @@ public class PiePreviewRenderer : GLib.Object {
switch (display) {
case CenterDisplay.ACTIVE_SLICE:
if (this.active_slice >= 0 && this.active_slice < this.slices.size)
- this.center_renderer.set_text("<b>" + slices[this.active_slice].name + "</b>\n<small>"
+ this.center_renderer.set_text("<b>" + GLib.Markup.escape_text(slices[this.active_slice].name) + "</b>\n<small>"
+ _("Click to edit") + "\n" + _("Drag to move") + "</small>");
break;
case CenterDisplay.ADD:
@@ -418,12 +418,12 @@ public class PiePreviewRenderer : GLib.Object {
if (hidden_group == null)
this.center_renderer.set_text("<small>" + _("Drop to add as new Slice") + "</small>");
else
- this.center_renderer.set_text("<b>" + this.hidden_group.name + "</b>\n<small>"
+ this.center_renderer.set_text("<b>" + GLib.Markup.escape_text(this.hidden_group.name) + "</b>\n<small>"
+ _("Drop to move Slice") + "</small>");
break;
case CenterDisplay.DELETE:
if (this.active_slice >= 0 && this.active_slice < this.slices.size)
- this.center_renderer.set_text("<b>" + slices[this.active_slice].name + "</b>\n<small>"
+ this.center_renderer.set_text("<b>" + GLib.Markup.escape_text(slices[this.active_slice].name) + "</b>\n<small>"
+ _("Click to delete") + "\n" + _("Drag to move") + "</small>");
break;
default: