fix bug (typo?) where Quick Views had a title of "True"

This commit is contained in:
Paul Franklin 2017-02-13 19:16:58 -08:00
parent 0d7b79ea88
commit 5ceb7b69d9

View File

@ -58,7 +58,7 @@ class DisplayBuf(ManagedWindow):
ManagedWindow.__init__(self, document.uistate, track, document) ManagedWindow.__init__(self, document.uistate, track, document)
dialog = Gtk.Dialog(title="", destroy_with_parent=True) dialog = Gtk.Dialog(title="", destroy_with_parent=True)
dialog.add_button(_('_Close'), Gtk.ResponseType.CLOSE) dialog.add_button(_('_Close'), Gtk.ResponseType.CLOSE)
self.set_window(dialog, None, title, True) self.set_window(dialog, None, title)
self.setup_configs('interface.' + title.lower().replace(' ', ''), self.setup_configs('interface.' + title.lower().replace(' ', ''),
600, 400) 600, 400)
scrolled_window = Gtk.ScrolledWindow() scrolled_window = Gtk.ScrolledWindow()