Set tab title on window title
This commit is contained in:
1 parent
d57d99f585
commit
6f29d8543d
1 file changed
+5
@@ -865,6 +865,11 @@ class Main(object):
|
||||
def _sig_page_changt(self, notebook, page, page_num):
|
||||
self.last_page = self.current_page
|
||||
self.current_page = self.notebook.get_current_page()
|
||||
title = _('Tryton')
|
||||
page = self._wid_get()
|
||||
if page:
|
||||
title += ' - ' + page.name
|
||||
self.window.set_title(title)
|
||||
self.sb_set()
|
||||
|
||||
def sig_db_new(self, widget):
|
||||
|
||||
Reference in new issue
Block a user