diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-01-27 21:34:49 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-01-27 21:34:49 +0100 |
commit | 2f94591b0eca0f910484a8073403cf71f274d974 (patch) | |
tree | 1eb06c396330950fdfd95fc3358e2e3055fd1e10 /src/gui/piePreviewRenderer.vala | |
parent | d67c54cea574bf6bb014d3e2412bd64c7ced2073 (diff) | |
parent | a824c3e5bdab686901b02667609282e7d596a6af (diff) |
Merge commit 'upstream/0.4.2'
Diffstat (limited to 'src/gui/piePreviewRenderer.vala')
-rw-r--r-- | src/gui/piePreviewRenderer.vala | 6 |
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: |