mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Always include base_window_title in window title
Also include base title when controls are hidden for consistency
This commit is contained in:
parent
a275acb5c0
commit
c8291929dc
@ -527,7 +527,7 @@ class EbookViewer(MainWindow):
|
|||||||
value, maximum = self.pos.value(), self.pos.maximum()
|
value, maximum = self.pos.value(), self.pos.maximum()
|
||||||
text = '%g/%g'%(value, maximum)
|
text = '%g/%g'%(value, maximum)
|
||||||
if fmt:
|
if fmt:
|
||||||
title = '({}) {} [{}]'.format(text, self.current_title, fmt)
|
title = '({}) {} [{}] - {}'.format(text, self.current_title, fmt, self.base_window_title)
|
||||||
else:
|
else:
|
||||||
title = '({}) {} - {}'.format(text, self.current_title, self.base_window_title)
|
title = '({}) {} - {}'.format(text, self.current_title, self.base_window_title)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user