From 6c976ee196805e9a5a7d74a92030cc921dcd861b Mon Sep 17 00:00:00 2001 From: Osmo Salomaa Date: Sun, 13 Jan 2013 19:38:38 +0200 Subject: [PATCH] Use GLib.markup_escape_text after all, just in case. It's not much slower. --- TODO | 3 ++- gaupol/renderers/float.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 1a63804a..03582952 100644 --- a/TODO +++ b/TODO @@ -9,12 +9,13 @@ Gaupol 0.21.1 different filesystems (Florian Léger, Osmo Salomaa) [X] Fix speed issues updating subtitle list selection (e.g. when doing a search-and-replace-all with a alot of matches) - [X] Speed up miscellaneous GUI updates + [X] Speed up action sensitivity updates Gaupol 1.0 ========== * Restore proper keeping track of recent files + - Should be possible with PyGObject > 3.7.3? - https://bugzilla.gnome.org/show_bug.cgi?id=678401 * Add a built-in GStreamer-based video player * Add a GStreamer-based audio waveform display diff --git a/gaupol/renderers/float.py b/gaupol/renderers/float.py index 9b6a2e00..ef39e4f5 100644 --- a/gaupol/renderers/float.py +++ b/gaupol/renderers/float.py @@ -55,4 +55,4 @@ def _on_notify_text(self, *args): text = self._format.format(float(text)) if has_comma: text = text.replace(".", ",") - self.props.markup = text + self.props.markup = GLib.markup_escape_text(text)