enable merge dialogs to remember their size
This commit is contained in:
parent
22c1bd4e1c
commit
8cd4a75482
@ -235,6 +235,24 @@ register('interface.media-ref-width', 600)
|
||||
register('interface.media-sel-height', 450)
|
||||
register('interface.media-sel-width', 600)
|
||||
register('interface.media-width', 650)
|
||||
register('interface.merge-citation-height', 250)
|
||||
register('interface.merge-citation-width', 500)
|
||||
register('interface.merge-event-height', 250)
|
||||
register('interface.merge-event-width', 500)
|
||||
register('interface.merge-family-height', 250)
|
||||
register('interface.merge-family-width', 500)
|
||||
register('interface.merge-media-height', 250)
|
||||
register('interface.merge-media-width', 500)
|
||||
register('interface.merge-note-height', 250)
|
||||
register('interface.merge-note-width', 600)
|
||||
register('interface.merge-person-height', 400)
|
||||
register('interface.merge-person-width', 700)
|
||||
register('interface.merge-place-height', 250)
|
||||
register('interface.merge-place-width', 500)
|
||||
register('interface.merge-repository-height', 250)
|
||||
register('interface.merge-repository-width', 500)
|
||||
register('interface.merge-source-height', 250)
|
||||
register('interface.merge-source-width', 500)
|
||||
register('interface.name-height', 350)
|
||||
register('interface.name-width', 600)
|
||||
register('interface.note-height', 500)
|
||||
|
@ -5,7 +5,6 @@
|
||||
<object class="GtkDialog" id="mergecitation">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">500</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -5,7 +5,6 @@
|
||||
<object class="GtkDialog" id="mergeevent">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">500</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -5,7 +5,6 @@
|
||||
<object class="GtkDialog" id="mergefamily">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">500</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -5,7 +5,6 @@
|
||||
<object class="GtkDialog" id="mergeobject">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">500</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -5,7 +5,6 @@
|
||||
<object class="GtkDialog" id="mergenote">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">600</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -5,8 +5,6 @@
|
||||
<object class="GtkDialog" id="mergeperson">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">700</property>
|
||||
<property name="default_height">400</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -5,7 +5,6 @@
|
||||
<object class="GtkDialog" id="mergeplace">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">500</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -5,7 +5,6 @@
|
||||
<object class="GtkDialog" id="mergerepository">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">500</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -5,7 +5,6 @@
|
||||
<object class="GtkDialog" id="mergesource">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="default_width">500</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox" id="dialog-vbox1">
|
||||
|
@ -66,6 +66,9 @@ class MergeCitation(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget('citation_title'),
|
||||
_("Merge Citations"))
|
||||
self.height_key = 'interface.merge-citation-height'
|
||||
self.width_key = 'interface.merge-citation-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed Selection widgets
|
||||
page1 = self.citation1.get_page()
|
||||
|
@ -65,6 +65,9 @@ class MergeEvent(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget("event_title"),
|
||||
_("Merge Events"))
|
||||
self.height_key = 'interface.merge-event-height'
|
||||
self.width_key = 'interface.merge-event-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed selection widgets
|
||||
type1 = str(self.ev1.get_type())
|
||||
|
@ -66,6 +66,9 @@ class MergeFamily(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget("family_title"),
|
||||
_("Merge Families"))
|
||||
self.height_key = 'interface.merge-family-height'
|
||||
self.width_key = 'interface.merge-family-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed selection widgets
|
||||
father1 = self.fy1.get_father_handle()
|
||||
|
@ -64,6 +64,9 @@ class MergeMedia(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget('object_title'),
|
||||
_("Merge Media Objects"))
|
||||
self.height_key = 'interface.merge-media-height'
|
||||
self.width_key = 'interface.merge-media-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed selection Widgets
|
||||
desc1 = self.mo1.get_description()
|
||||
|
@ -64,6 +64,9 @@ class MergeNote(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget("note_title"),
|
||||
_("Merge Notes"))
|
||||
self.height_key = 'interface.merge-note-height'
|
||||
self.width_key = 'interface.merge-note-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed selection widgets
|
||||
text1 = self.no1.get_styledtext()
|
||||
|
@ -87,6 +87,9 @@ class MergePerson(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget("person_title"),
|
||||
_("Merge People"))
|
||||
self.height_key = 'interface.merge-person-height'
|
||||
self.width_key = 'interface.merge-person-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed selection widgets
|
||||
name1 = name_displayer.display_name(self.pr1.get_primary_name())
|
||||
|
@ -75,6 +75,9 @@ class MergePlace(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget('place_title'),
|
||||
_("Merge Places"))
|
||||
self.height_key = 'interface.merge-place-height'
|
||||
self.width_key = 'interface.merge-place-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed selection widgets
|
||||
if not config.get('preferences.place-auto'):
|
||||
|
@ -65,6 +65,9 @@ class MergeRepository(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget('repository_title'),
|
||||
_("Merge Repositories"))
|
||||
self.height_key = 'interface.merge-repository-height'
|
||||
self.width_key = 'interface.merge-repository-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed selection widgets
|
||||
name1 = self.rp1.get_name()
|
||||
|
@ -65,6 +65,9 @@ class MergeSource(ManagedWindow):
|
||||
self.set_window(self._gladeobj.toplevel,
|
||||
self.get_widget('source_title'),
|
||||
_("Merge Sources"))
|
||||
self.height_key = 'interface.merge-source-height'
|
||||
self.width_key = 'interface.merge-source-width'
|
||||
self._set_size()
|
||||
|
||||
# Detailed Selection widgets
|
||||
title1 = self.src1.get_title()
|
||||
|
Loading…
x
Reference in New Issue
Block a user