9795: remember the last location of windows [partial: verify]
This commit is contained in:
parent
3406450451
commit
251c4acde2
@ -329,7 +329,7 @@ class BookSelector(ManagedWindow):
|
|||||||
|
|
||||||
title_label = self.xml.get_object('title')
|
title_label = self.xml.get_object('title')
|
||||||
self.set_window(window, title_label, self.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()
|
window.show()
|
||||||
self.xml.connect_signals({
|
self.xml.connect_signals({
|
||||||
"on_add_clicked" : self.on_add_clicked,
|
"on_add_clicked" : self.on_add_clicked,
|
||||||
|
@ -784,8 +784,6 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="GtkDialog" id="verify_result">
|
<object class="GtkDialog" id="verify_result">
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<property name="default_width">500</property>
|
|
||||||
<property name="default_height">300</property>
|
|
||||||
<property name="type_hint">dialog</property>
|
<property name="type_hint">dialog</property>
|
||||||
<child internal-child="vbox">
|
<child internal-child="vbox">
|
||||||
<object class="GtkBox" id="dialog-vbox2">
|
<object class="GtkBox" id="dialog-vbox2">
|
||||||
|
@ -332,6 +332,7 @@ class Verify(tool.Tool, ManagedWindow, UpdateCallback):
|
|||||||
|
|
||||||
window = self.top.toplevel
|
window = self.top.toplevel
|
||||||
self.set_window(window, self.top.get_object('title'), self.label)
|
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
|
o_dict = self.options.handler.options_dict
|
||||||
for option in o_dict:
|
for option in o_dict:
|
||||||
@ -503,6 +504,7 @@ class VerifyResults(ManagedWindow):
|
|||||||
self.top = Glade(toplevel="verify_result")
|
self.top = Glade(toplevel="verify_result")
|
||||||
window = self.top.toplevel
|
window = self.top.toplevel
|
||||||
self.set_window(window, self.top.get_object('title2'), self.title)
|
self.set_window(window, self.top.get_object('title2'), self.title)
|
||||||
|
self.setup_configs('interface.verifyresults', 500, 300)
|
||||||
|
|
||||||
self.top.connect_signals({
|
self.top.connect_signals({
|
||||||
"destroy_passed_object" : self.close,
|
"destroy_passed_object" : self.close,
|
||||||
|
Loading…
Reference in New Issue
Block a user