[meld] meldwindow: 'Fix' property warning
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] meldwindow: 'Fix' property warning
- Date: Sat, 26 Apr 2014 23:45:07 +0000 (UTC)
commit e6de2016b59b198611e9d39079fe69e342ce0f56
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Apr 27 09:42:48 2014 +1000
meldwindow: 'Fix' property warning
meld/meldwindow.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meld/meldwindow.py b/meld/meldwindow.py
index 6046b4d..2b6f3a6 100644
--- a/meld/meldwindow.py
+++ b/meld/meldwindow.py
@@ -358,6 +358,8 @@ class MeldWindow(gnomeglade.Component):
# Only update the window title if the current page is active
if self.notebook.get_current_page() == self.notebook.page_num(page):
self.widget.set_title(text + " - Meld")
+ if isinstance(text, unicode):
+ text = text.encode('utf8')
self.notebook.child_set_property(page, "menu-label", text)
actiongroup = self.tab_switch_actiongroup
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]