root-odJJhXpcy38dnm+
2014-03-30 06:25:21 UTC
This is an automated email from the git hooks/post-receive script.
alexl pushed a commit to branch master
in repository software/net_monitor.
commit e9da46728549f5b18248b5ee290848e611780e94
Author: Alexey Loginov <alexl-odJJhXpcy38dnm+***@public.gmane.org>
Date: Sun Mar 30 10:22:59 2014 +0400
Fix MGA#12882 (use of str() instead of unicode())
---
Commit Link:
http://gitweb.mageia.org/software/net_monitor/commit/?id=e9da46728549f5b18248b5ee290848e611780e94
src/net_monitor | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/net_monitor b/src/net_monitor
index 1b123d3..7856442 100755
--- a/src/net_monitor
+++ b/src/net_monitor
@@ -495,7 +495,7 @@ class MonitorGui:
value = pretty_size
else:
value = "%s (%s)" % (pretty_size, pretty_bytes)
- self.ifaces[iface][widget].set_text(str(value))
+ self.ifaces[iface][widget].set_text(unicode(value))
GObject.timeout_add_seconds(interval, self.update)
def show_statistics_dialog(self, widget, iface):
alexl pushed a commit to branch master
in repository software/net_monitor.
commit e9da46728549f5b18248b5ee290848e611780e94
Author: Alexey Loginov <alexl-odJJhXpcy38dnm+***@public.gmane.org>
Date: Sun Mar 30 10:22:59 2014 +0400
Fix MGA#12882 (use of str() instead of unicode())
---
Commit Link:
http://gitweb.mageia.org/software/net_monitor/commit/?id=e9da46728549f5b18248b5ee290848e611780e94
src/net_monitor | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/net_monitor b/src/net_monitor
index 1b123d3..7856442 100755
--- a/src/net_monitor
+++ b/src/net_monitor
@@ -495,7 +495,7 @@ class MonitorGui:
value = pretty_size
else:
value = "%s (%s)" % (pretty_size, pretty_bytes)
- self.ifaces[iface][widget].set_text(str(value))
+ self.ifaces[iface][widget].set_text(unicode(value))
GObject.timeout_add_seconds(interval, self.update)
def show_statistics_dialog(self, widget, iface):
--
Mageia Git Monkeys.
Mageia Git Monkeys.