9795: remember the last location of windows [partial: verify]

This commit is contained in:
Paul Franklin 2016-12-11 22:58:54 -08:00
parent 3406450451
commit 251c4acde2
3 changed files with 3 additions and 3 deletions

View File

@ -329,7 +329,7 @@ class BookSelector(ManagedWindow):
title_label = self.xml.get_object('title')
self.set_window(window, title_label, self.title)
self.setup_configs('interface.book-selector', 700, 600)
self.setup_configs('interface.bookselector', 700, 600)
window.show()
self.xml.connect_signals({
"on_add_clicked" : self.on_add_clicked,

View File

@ -784,8 +784,6 @@
</object>
<object class="GtkDialog" id="verify_result">
<property name="can_focus">False</property>
<property name="default_width">500</property>
<property name="default_height">300</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox2">

View File

@ -332,6 +332,7 @@ class Verify(tool.Tool, ManagedWindow, UpdateCallback):
window = self.top.toplevel
self.set_window(window, self.top.get_object('title'), self.label)
self.setup_configs('interface.verify', 650, 400)
o_dict = self.options.handler.options_dict
for option in o_dict:
@ -503,6 +504,7 @@ class VerifyResults(ManagedWindow):
self.top = Glade(toplevel="verify_result")
window = self.top.toplevel
self.set_window(window, self.top.get_object('title2'), self.title)
self.setup_configs('interface.verifyresults', 500, 300)
self.top.connect_signals({
"destroy_passed_object" : self.close,