[tasque] Do not gmarkup-escape text in the note dialog.
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque] Do not gmarkup-escape text in the note dialog.
- Date: Sun, 9 Sep 2012 16:14:30 +0000 (UTC)
commit e0181c1d4c8fc11cf43a95f470d6fc403fa6feed
Author: Steve FrÃcinaux <code istique net>
Date: Sun Sep 9 18:13:01 2012 +0200
Do not gmarkup-escape text in the note dialog.
Beside being useless (label.UseMarkup is false), it makes &..; entities
appear when using a special xml char.
src/NoteWidget.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/NoteWidget.cs b/src/NoteWidget.cs
index 888bc12..b60aa0d 100644
--- a/src/NoteWidget.cs
+++ b/src/NoteWidget.cs
@@ -90,7 +90,7 @@ namespace Tasque
text = value == null ? string.Empty : value.Trim ();
if (Page == this.viewPageId) {
- textLabel.Text = GLib.Markup.EscapeText (text);
+ textLabel.Text = text;
} else {
textView.Buffer.Text = text;
}
@@ -121,7 +121,7 @@ namespace Tasque
textLabel.UseUnderline = false;
textLabel.Justify = Gtk.Justification.Left;
textLabel.Wrap = true;
- textLabel.Text = GLib.Markup.EscapeText (text);
+ textLabel.Text = text;
textLabel.Show ();
vbox.PackStart (textLabel, true, true, 0);
@@ -294,7 +294,7 @@ namespace Tasque
{
// Update the text
text = textView.Buffer.Text.Trim ();
- textLabel.Text = GLib.Markup.EscapeText (text);
+ textLabel.Text = text;
if(note != null)
note.Text = text;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]