[kupfer: 18/41] vim: Use fromlocale on VIM server names



commit 6cf91f65ad28ba92a9b7b2402896daf81c55bd01
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Tue Apr 26 18:44:02 2011 +0200

    vim: Use fromlocale on VIM server names

 kupfer/plugin/vim/plugin.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/plugin/vim/plugin.py b/kupfer/plugin/vim/plugin.py
index 3aba92c..eca8f1b 100644
--- a/kupfer/plugin/vim/plugin.py
+++ b/kupfer/plugin/vim/plugin.py
@@ -366,7 +366,7 @@ class ActiveVim (Source):
 
 	def get_items(self):
 		for x in self.serverids:
-			yield VimApp(x, _("Vim Session %s") % x)
+			yield VimApp(x, _("Vim Session %s") % kupferstring.fromlocale(x))
 
 	def on_new_serverlist(self, new_list):
 		self.output_debug("New list:", list(new_list))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]