9795: remember the last location of windows [partial: three more]
This commit is contained in:
parent
beb3962f52
commit
083a2a721e
@ -124,6 +124,7 @@ class EditDate(ManagedWindow):
|
||||
self.top.toplevel,
|
||||
self.top.get_object('title'),
|
||||
_('Date selection'))
|
||||
self.setup_configs('interface.editdate', 620, 320)
|
||||
|
||||
self.statusbar = self.top.get_object('statusbar')
|
||||
self.ok_button = self.top.get_object('ok_button')
|
||||
|
@ -85,6 +85,8 @@ class EditLink(ManagedWindow):
|
||||
self.set_window(self.top.toplevel,
|
||||
self.top.get_object("title"),
|
||||
_('Link Editor'))
|
||||
self.setup_configs('interface.editlink', 600, 160)
|
||||
|
||||
self.uri_list = self.top.get_object('link_type')
|
||||
for text in [_("Internet Address"), # 0 this order range above
|
||||
_("Event"), # 1
|
||||
|
@ -5,7 +5,6 @@
|
||||
<requires lib="grampswidgets" version="0.0"/>
|
||||
<object class="GtkDialog" id="editurl">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="default_width">600</property>
|
||||
<property name="destroy_with_parent">True</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
|
@ -80,7 +80,7 @@ class LastNameDialog(ManagedWindow):
|
||||
self.__dlg = Gtk.Dialog(None, uistate.window, flags, buttons)
|
||||
self.__dlg.set_position(Gtk.WindowPosition.CENTER_ON_PARENT)
|
||||
self.set_window(self.__dlg, None, _('Select surname'))
|
||||
self.window.set_default_size(400, 400)
|
||||
self.setup_configs('interface.lastnamedialog', 400, 400)
|
||||
|
||||
# build up a container to display all of the people of interest
|
||||
self.__model = Gtk.ListStore(GObject.TYPE_STRING, GObject.TYPE_INT)
|
||||
|
Loading…
Reference in New Issue
Block a user