Skip to content

Commit e6de201

Browse files
committed
meldwindow: 'Fix' property warning
1 parent 1d887c0 commit e6de201

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

meld/meldwindow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ def on_notebook_label_changed(self, component, text, tooltip):
358358
# Only update the window title if the current page is active
359359
if self.notebook.get_current_page() == self.notebook.page_num(page):
360360
self.widget.set_title(text + " - Meld")
361+
if isinstance(text, unicode):
362+
text = text.encode('utf8')
361363
self.notebook.child_set_property(page, "menu-label", text)
362364

363365
actiongroup = self.tab_switch_actiongroup

0 commit comments

Comments
 (0)