[rhythmbox/wip/python3] im-status: remove some useless encoding stuff
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/python3] im-status: remove some useless encoding stuff
- Date: Tue, 16 Apr 2013 12:51:31 +0000 (UTC)
commit 9088fa7df9cdc300b39e3cf80f9c2b2ac26e576e
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Apr 16 22:48:23 2013 +1000
im-status: remove some useless encoding stuff
plugins/im-status/im-status.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/im-status/im-status.py b/plugins/im-status/im-status.py
index 4740127..790a123 100644
--- a/plugins/im-status/im-status.py
+++ b/plugins/im-status/im-status.py
@@ -159,9 +159,9 @@ class IMStatusPlugin (GObject.Object, Peas.Activatable):
def set_status (self):
subs = {
- 'artist': unicode (self.current_artist, encoding='utf-8'),
- 'album': unicode (self.current_album, encoding='utf-8'),
- 'title': unicode (self.current_title, encoding='utf-8')
+ 'artist': self.current_artist,
+ 'album': self.current_album,
+ 'title': self.current_title
}
if self.current_artist:
if self.current_title:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]