summaryrefslogtreecommitdiff
path: root/src/gui/piePreviewRenderer.vala
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2012-01-27 21:34:49 +0100
committerAlessandro Ghedini <al3xbio@gmail.com>2012-01-27 21:34:49 +0100
commit2f94591b0eca0f910484a8073403cf71f274d974 (patch)
tree1eb06c396330950fdfd95fc3358e2e3055fd1e10 /src/gui/piePreviewRenderer.vala
parentd67c54cea574bf6bb014d3e2412bd64c7ced2073 (diff)
parenta824c3e5bdab686901b02667609282e7d596a6af (diff)
Merge commit 'upstream/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: