2006-11-25 Don Allingham <don@gramps-project.org>
* src/Config/_GrampsConfigKeys.py: remember window size * src/Editors/_EditAddress.py: remember window size * src/Editors/_EditSecondary.py: remember window size * src/Editors/_EditLdsOrd.py: remember window size * src/Editors/_EditReference.py: remember window size * src/Editors/_EditUrl.py: remember window size * src/Editors/_EditRepoRef.py: remember window size * src/Editors/_EditAttribute.py: remember window size * src/Editors/_EditPersonRef.py: remember window size * src/Editors/_EditLocation.py: remember window size * src/Editors/_EditMediaRef.py: remember window size * src/Editors/_EditEventRef.py: remember window size * src/Editors/_EditName.py: remember window size * src/glade/gramps.glade: remember window size * data/gramps.schemas.in: remember window size svn: r7701
This commit is contained in:
parent
2084c82bed
commit
c83cad1d5c
@ -1,3 +1,20 @@
|
||||
2006-11-25 Don Allingham <don@gramps-project.org>
|
||||
* src/Config/_GrampsConfigKeys.py: remember window size
|
||||
* src/Editors/_EditAddress.py: remember window size
|
||||
* src/Editors/_EditSecondary.py: remember window size
|
||||
* src/Editors/_EditLdsOrd.py: remember window size
|
||||
* src/Editors/_EditReference.py: remember window size
|
||||
* src/Editors/_EditUrl.py: remember window size
|
||||
* src/Editors/_EditRepoRef.py: remember window size
|
||||
* src/Editors/_EditAttribute.py: remember window size
|
||||
* src/Editors/_EditPersonRef.py: remember window size
|
||||
* src/Editors/_EditLocation.py: remember window size
|
||||
* src/Editors/_EditMediaRef.py: remember window size
|
||||
* src/Editors/_EditEventRef.py: remember window size
|
||||
* src/Editors/_EditName.py: remember window size
|
||||
* src/glade/gramps.glade: remember window size
|
||||
* data/gramps.schemas.in: remember window size
|
||||
|
||||
2006-11-25 Alex Roitman <shura@gramps-project.org>
|
||||
* src/GrampsLogger/_ErrorReportAssistant.py
|
||||
(_get_sys_information): Report BSDDB version.
|
||||
|
@ -333,6 +333,30 @@
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/event-ref-height</key>
|
||||
<applyto>/apps/gramps/interface/event-ref-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>450</default>
|
||||
<locale name="C">
|
||||
<short>Height of the event reference editor interface.</short>
|
||||
<long>Specifies the height of the event reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/event-ref-width</key>
|
||||
<applyto>/apps/gramps/interface/event-ref-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the event reference editor interface.</short>
|
||||
<long>Specifies the width of the event reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/place-height</key>
|
||||
<applyto>/apps/gramps/interface/place-height</applyto>
|
||||
@ -405,6 +429,79 @@
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/address-height</key>
|
||||
<applyto>/apps/gramps/interface/address-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>450</default>
|
||||
<locale name="C">
|
||||
<short>Height of the address editor interface.</short>
|
||||
<long>Specifies the height of the address editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/address-width</key>
|
||||
<applyto>/apps/gramps/interface/address-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>650</default>
|
||||
<locale name="C">
|
||||
<short>Width of the address editor interface.</short>
|
||||
<long>Specifies the width of the address editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/attribute-height</key>
|
||||
<applyto>/apps/gramps/interface/attribute-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>350</default>
|
||||
<locale name="C">
|
||||
<short>Height of the attribute editor interface.</short>
|
||||
<long>Specifies the height of the attribute editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/attribute-width</key>
|
||||
<applyto>/apps/gramps/interface/attribute-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the attribute editor interface.</short>
|
||||
<long>Specifies the width of the attribute editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/name-height</key>
|
||||
<applyto>/apps/gramps/interface/name-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>350</default>
|
||||
<locale name="C">
|
||||
<short>Height of the name editor interface.</short>
|
||||
<long>Specifies the height of the name editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/name-width</key>
|
||||
<applyto>/apps/gramps/interface/name-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the name editor interface.</short>
|
||||
<long>Specifies the width of the name editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/source-height</key>
|
||||
<applyto>/apps/gramps/interface/source-height</applyto>
|
||||
@ -429,6 +526,30 @@
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/source-ref-height</key>
|
||||
<applyto>/apps/gramps/interface/source-ref-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>450</default>
|
||||
<locale name="C">
|
||||
<short>Height of the source reference editor interface.</short>
|
||||
<long>Specifies the height of the source reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/source-ref-width</key>
|
||||
<applyto>/apps/gramps/interface/source-ref-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the source reference editor interface.</short>
|
||||
<long>Specifies the width of the source reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/filter</key>
|
||||
<applyto>/apps/gramps/interface/filter</applyto>
|
||||
@ -888,5 +1009,149 @@
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/lds-height</key>
|
||||
<applyto>/apps/gramps/interface/lds-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>450</default>
|
||||
<locale name="C">
|
||||
<short>Height of the LDS editor interface.</short>
|
||||
<long>Specifies the height of the LDS editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/lds-width</key>
|
||||
<applyto>/apps/gramps/interface/lds-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the LDS editor interface.</short>
|
||||
<long>Specifies the width of the LDS editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/location-height</key>
|
||||
<applyto>/apps/gramps/interface/location-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>250</default>
|
||||
<locale name="C">
|
||||
<short>Height of the location editor interface.</short>
|
||||
<long>Specifies the height of the location editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/location-width</key>
|
||||
<applyto>/apps/gramps/interface/location-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the location editor interface.</short>
|
||||
<long>Specifies the width of the location editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/media-ref-height</key>
|
||||
<applyto>/apps/gramps/interface/media-ref-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>450</default>
|
||||
<locale name="C">
|
||||
<short>Height of the media reference editor interface.</short>
|
||||
<long>Specifies the height of the media reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/media-ref-width</key>
|
||||
<applyto>/apps/gramps/interface/media-ref-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the media reference editor interface.</short>
|
||||
<long>Specifies the width of the media reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/url-height</key>
|
||||
<applyto>/apps/gramps/interface/url-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>150</default>
|
||||
<locale name="C">
|
||||
<short>Height of the url editor interface.</short>
|
||||
<long>Specifies the height of the url editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/url-width</key>
|
||||
<applyto>/apps/gramps/interface/url-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the url editor interface.</short>
|
||||
<long>Specifies the width of the url editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/person-ref-height</key>
|
||||
<applyto>/apps/gramps/interface/person-ref-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>350</default>
|
||||
<locale name="C">
|
||||
<short>Height of the person reference editor interface.</short>
|
||||
<long>Specifies the height of the person reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/person-ref-width</key>
|
||||
<applyto>/apps/gramps/interface/person-ref-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the person reference editor interface.</short>
|
||||
<long>Specifies the width of the person reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/repo-ref-height</key>
|
||||
<applyto>/apps/gramps/interface/repo-ref-height</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>450</default>
|
||||
<locale name="C">
|
||||
<short>Height of the repository reference editor interface.</short>
|
||||
<long>Specifies the height of the repository reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/apps/gramps/interface/repo-ref-width</key>
|
||||
<applyto>/apps/gramps/interface/repo-ref-width</applyto>
|
||||
<owner>gramps</owner>
|
||||
<type>int</type>
|
||||
<default>600</default>
|
||||
<locale name="C">
|
||||
<short>Width of the repository reference editor interface.</short>
|
||||
<long>Specifies the width of the repository reference editor interface.</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
</schemalist>
|
||||
</gconfschemafile>
|
||||
|
@ -47,14 +47,36 @@ PERSON_HEIGHT = ('interface','person-height', 1)
|
||||
PERSON_WIDTH = ('interface','person-width', 1)
|
||||
EVENT_HEIGHT = ('interface','event-height', 1)
|
||||
EVENT_WIDTH = ('interface','event-width', 1)
|
||||
EVENT_REF_HEIGHT = ('interface','event-ref-height', 1)
|
||||
EVENT_REF_WIDTH = ('interface','event-ref-width', 1)
|
||||
SOURCE_HEIGHT = ('interface','source-height', 1)
|
||||
SOURCE_WIDTH = ('interface','source-width', 1)
|
||||
SOURCE_REF_HEIGHT = ('interface','source-ref-height', 1)
|
||||
SOURCE_REF_WIDTH = ('interface','source-ref-width', 1)
|
||||
PERSON_REF_HEIGHT = ('interface','person-ref-height', 1)
|
||||
PERSON_REF_WIDTH = ('interface','person-ref-width', 1)
|
||||
REPO_REF_HEIGHT = ('interface','repo-ref-height', 1)
|
||||
REPO_REF_WIDTH = ('interface','repo-ref-width', 1)
|
||||
PLACE_HEIGHT = ('interface','place-height', 1)
|
||||
PLACE_WIDTH = ('interface','place-width', 1)
|
||||
REPO_HEIGHT = ('interface','repo-height', 1)
|
||||
REPO_WIDTH = ('interface','repo-width', 1)
|
||||
LDS_HEIGHT = ('interface','lds-height', 1)
|
||||
LDS_WIDTH = ('interface','lds-width', 1)
|
||||
URL_WIDTH = ('interface','url-width', 1)
|
||||
URL_HEIGHT = ('interface','url-height', 1)
|
||||
LOCATION_HEIGHT = ('interface','location-height', 1)
|
||||
LOCATION_WIDTH = ('interface','location-width', 1)
|
||||
MEDIA_HEIGHT = ('interface','media-height', 1)
|
||||
MEDIA_WIDTH = ('interface','media-width', 1)
|
||||
MEDIA_REF_HEIGHT = ('interface','media-ref-height', 1)
|
||||
MEDIA_REF_WIDTH = ('interface','media-ref-width', 1)
|
||||
ADDR_HEIGHT = ('interface','address-height', 1)
|
||||
ADDR_WIDTH = ('interface','address-width', 1)
|
||||
ATTR_HEIGHT = ('interface','attribute-height', 1)
|
||||
ATTR_WIDTH = ('interface','attribute-width', 1)
|
||||
NAME_HEIGHT = ('interface','name-height', 1)
|
||||
NAME_WIDTH = ('interface','name-width', 1)
|
||||
FILTER = ('interface','filter', 0)
|
||||
FPREFIX = ('preferences','fprefix', 2)
|
||||
EPREFIX = ('preferences','eprefix', 2)
|
||||
@ -123,14 +145,36 @@ default_value = {
|
||||
PERSON_WIDTH : 750,
|
||||
EVENT_HEIGHT : 450,
|
||||
EVENT_WIDTH : 600,
|
||||
EVENT_REF_HEIGHT : 450,
|
||||
EVENT_REF_WIDTH : 600,
|
||||
SOURCE_HEIGHT : 450,
|
||||
SOURCE_WIDTH : 600,
|
||||
LDS_HEIGHT : 450,
|
||||
LDS_WIDTH : 600,
|
||||
URL_HEIGHT : 150,
|
||||
URL_WIDTH : 600,
|
||||
LOCATION_HEIGHT : 250,
|
||||
LOCATION_WIDTH : 550,
|
||||
SOURCE_REF_HEIGHT : 450,
|
||||
SOURCE_REF_WIDTH : 600,
|
||||
PERSON_REF_HEIGHT : 350,
|
||||
PERSON_REF_WIDTH : 600,
|
||||
REPO_REF_HEIGHT : 450,
|
||||
REPO_REF_WIDTH : 600,
|
||||
PLACE_HEIGHT : 450,
|
||||
PLACE_WIDTH : 650,
|
||||
REPO_HEIGHT : 450,
|
||||
REPO_WIDTH : 650,
|
||||
MEDIA_HEIGHT : 450,
|
||||
MEDIA_WIDTH : 650,
|
||||
MEDIA_REF_HEIGHT : 450,
|
||||
MEDIA_REF_WIDTH : 650,
|
||||
ADDR_HEIGHT : 450,
|
||||
ADDR_WIDTH : 650,
|
||||
ATTR_HEIGHT : 350,
|
||||
ATTR_WIDTH : 600,
|
||||
NAME_HEIGHT : 400,
|
||||
NAME_WIDTH : 600,
|
||||
FILTER : False,
|
||||
FPREFIX : 'F%04d',
|
||||
EPREFIX : 'E%04d',
|
||||
|
@ -45,6 +45,7 @@ import gtk.glade
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
from _EditSecondary import EditSecondary
|
||||
|
||||
from DisplayTabs import SourceEmbedList, NoteTab
|
||||
@ -59,6 +60,10 @@ class EditAddress(EditSecondary):
|
||||
"""
|
||||
Displays a dialog that allows the user to edit an address.
|
||||
"""
|
||||
|
||||
WIDTH_KEY = Config.ADDR_WIDTH
|
||||
HEIGHT_KEY = Config.ADDR_HEIGHT
|
||||
|
||||
def __init__(self, dbstate, uistate, track, addr, callback):
|
||||
"""
|
||||
Displays the dialog box.
|
||||
|
@ -48,6 +48,7 @@ import gtk.glade
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
from _EditSecondary import EditSecondary
|
||||
|
||||
from DisplayTabs import SourceEmbedList, NoteTab
|
||||
@ -62,6 +63,10 @@ class EditAttribute(EditSecondary):
|
||||
"""
|
||||
Displays a dialog that allows the user to edit an attribute.
|
||||
"""
|
||||
|
||||
WIDTH_KEY = Config.ATTR_WIDTH
|
||||
HEIGHT_KEY = Config.ATTR_HEIGHT
|
||||
|
||||
def __init__(self, state, uistate, track, attrib, title, data_list, callback):
|
||||
"""
|
||||
Displays the dialog box.
|
||||
|
@ -40,6 +40,7 @@ import gtk
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
import RelLib
|
||||
|
||||
from DisplayTabs import SourceEmbedList,NoteTab,GalleryTab,EventBackRefList,AttrEmbedList
|
||||
@ -58,6 +59,10 @@ from _EditReference import EditReference
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
class EditEventRef(EditReference):
|
||||
|
||||
WIDTH_KEY = Config.EVENT_REF_WIDTH
|
||||
HEIGHT_KEY = Config.EVENT_REF_HEIGHT
|
||||
|
||||
def __init__(self, state, uistate, track, event, event_ref, update):
|
||||
EditReference.__init__(self, state, uistate, track, event, event_ref,
|
||||
update)
|
||||
|
@ -48,6 +48,7 @@ import gtk.glade
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
import RelLib
|
||||
import NameDisplay
|
||||
import LdsUtils
|
||||
@ -130,6 +131,8 @@ class EditLdsOrd(EditSecondary):
|
||||
Displays a dialog that allows the user to edit an attribute.
|
||||
"""
|
||||
|
||||
WIDTH_KEY = Config.LDS_WIDTH
|
||||
HEIGHT_KEY = Config.LDS_HEIGHT
|
||||
|
||||
def __init__(self, state, uistate, track, attrib, callback):
|
||||
"""
|
||||
|
@ -33,6 +33,7 @@ import gtk
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
from _EditSecondary import EditSecondary
|
||||
|
||||
from GrampsWidgets import *
|
||||
@ -45,14 +46,16 @@ from gettext import gettext as _
|
||||
#-------------------------------------------------------------------------
|
||||
class EditLocation(EditSecondary):
|
||||
|
||||
WIDTH_KEY = Config.LOCATION_WIDTH
|
||||
HEIGHT_KEY = Config.LOCATION_HEIGHT
|
||||
|
||||
def __init__(self,dbstate,uistate,track,location,callback):
|
||||
EditSecondary.__init__(self, dbstate, uistate, track,
|
||||
location, callback)
|
||||
|
||||
def _local_init(self):
|
||||
self.top = gtk.glade.XML(const.gladeFile, "loc_edit","gramps")
|
||||
self.set_window(self.top.get_widget("loc_edit"),
|
||||
self.top.get_widget('title'),
|
||||
self.set_window(self.top.get_widget("loc_edit"), None,
|
||||
_('Location Editor'))
|
||||
|
||||
def _setup_fields(self):
|
||||
|
@ -40,6 +40,7 @@ import gtk
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
import Mime
|
||||
import ImgManip
|
||||
|
||||
@ -54,6 +55,10 @@ from _EditReference import EditReference
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
class EditMediaRef(EditReference):
|
||||
|
||||
WIDTH_KEY = Config.MEDIA_REF_WIDTH
|
||||
HEIGHT_KEY = Config.MEDIA_REF_HEIGHT
|
||||
|
||||
def __init__(self, state, uistate, track, media, media_ref, update):
|
||||
|
||||
EditReference.__init__(self, state, uistate, track, media,
|
||||
|
@ -40,6 +40,7 @@ import gtk.glade
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
import Utils
|
||||
import NameDisplay
|
||||
from _EditSecondary import EditSecondary
|
||||
@ -54,6 +55,9 @@ from GrampsWidgets import *
|
||||
#-------------------------------------------------------------------------
|
||||
class EditName(EditSecondary):
|
||||
|
||||
WIDTH_KEY = Config.NAME_WIDTH
|
||||
HEIGHT_KEY = Config.NAME_HEIGHT
|
||||
|
||||
def __init__(self, dbstate, uistate, track, name, callback):
|
||||
|
||||
EditSecondary.__init__(self, dbstate, uistate,
|
||||
|
@ -45,6 +45,7 @@ import gtk.glade
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
import NameDisplay
|
||||
from _EditSecondary import EditSecondary
|
||||
|
||||
@ -60,6 +61,10 @@ class EditPersonRef(EditSecondary):
|
||||
"""
|
||||
Displays a dialog that allows the user to edit an address.
|
||||
"""
|
||||
|
||||
WIDTH_KEY = Config.PERSON_REF_WIDTH
|
||||
HEIGHT_KEY = Config.PERSON_REF_HEIGHT
|
||||
|
||||
def __init__(self, dbstate, uistate, track, addr, callback):
|
||||
"""
|
||||
Displays the dialog box.
|
||||
|
@ -27,6 +27,7 @@
|
||||
#-------------------------------------------------------------------------
|
||||
import ManagedWindow
|
||||
from GrampsWidgets import *
|
||||
import Config
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -34,6 +35,10 @@ from GrampsWidgets import *
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
class EditReference(ManagedWindow.ManagedWindow):
|
||||
|
||||
WIDTH_KEY = None
|
||||
HEIGHT_KEY = None
|
||||
|
||||
def __init__(self, state, uistate, track, source, source_ref, update):
|
||||
self.db = state.db
|
||||
self.dbstate = state
|
||||
@ -48,12 +53,20 @@ class EditReference(ManagedWindow.ManagedWindow):
|
||||
ManagedWindow.ManagedWindow.__init__(self, uistate, track, source_ref)
|
||||
|
||||
self._local_init()
|
||||
self._set_size()
|
||||
self._create_tabbed_pages()
|
||||
self._setup_fields()
|
||||
self._connect_signals()
|
||||
self.show()
|
||||
self._post_init()
|
||||
|
||||
def _set_size(self):
|
||||
if self.WIDTH_KEY:
|
||||
width = Config.get(self.WIDTH_KEY)
|
||||
height = Config.get(self.HEIGHT_KEY)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def _local_init(self):
|
||||
"""
|
||||
Derived class should do any pre-window initalization in this task.
|
||||
@ -119,4 +132,13 @@ class EditReference(ManagedWindow.ManagedWindow):
|
||||
def close(self,*obj):
|
||||
for key in self.signal_keys:
|
||||
self.db.disconnect(key)
|
||||
self._save_size()
|
||||
ManagedWindow.ManagedWindow.close(self)
|
||||
|
||||
def _save_size(self):
|
||||
if self.HEIGHT_KEY:
|
||||
(width, height) = self.window.get_size()
|
||||
Config.set(self.WIDTH_KEY, width)
|
||||
Config.set(self.HEIGHT_KEY, height)
|
||||
Config.sync()
|
||||
|
||||
|
@ -40,6 +40,7 @@ import gtk
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
|
||||
from DisplayTabs import NoteTab,AddrEmbedList,WebEmbedList,SourceBackRefList
|
||||
from GrampsWidgets import *
|
||||
@ -51,6 +52,10 @@ from _EditReference import EditReference
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
class EditRepoRef(EditReference):
|
||||
|
||||
WIDTH_KEY = Config.REPO_REF_WIDTH
|
||||
HEIGHT_KEY = Config.REPO_REF_HEIGHT
|
||||
|
||||
def __init__(self, state, uistate, track, source, source_ref, update):
|
||||
|
||||
EditReference.__init__(self, state, uistate, track, source,
|
||||
|
@ -22,9 +22,13 @@
|
||||
|
||||
import ManagedWindow
|
||||
import GrampsDisplay
|
||||
import Config
|
||||
|
||||
class EditSecondary(ManagedWindow.ManagedWindow):
|
||||
|
||||
WIDTH_KEY = None
|
||||
HEIGHT_KEY = None
|
||||
|
||||
def __init__(self, state, uistate, track, obj, callback=None):
|
||||
"""Creates an edit window. Associates a person with the window."""
|
||||
|
||||
@ -38,6 +42,7 @@ class EditSecondary(ManagedWindow.ManagedWindow):
|
||||
ManagedWindow.ManagedWindow.__init__(self, uistate, track, obj)
|
||||
|
||||
self._local_init()
|
||||
self._set_size()
|
||||
|
||||
self._create_tabbed_pages()
|
||||
self._setup_fields()
|
||||
@ -45,6 +50,13 @@ class EditSecondary(ManagedWindow.ManagedWindow):
|
||||
self.show()
|
||||
self._post_init()
|
||||
|
||||
def _set_size(self):
|
||||
if self.WIDTH_KEY:
|
||||
width = Config.get(self.WIDTH_KEY)
|
||||
height = Config.get(self.HEIGHT_KEY)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def _local_init(self):
|
||||
"""
|
||||
Derived class should do any pre-window initalization in this task.
|
||||
@ -94,4 +106,13 @@ class EditSecondary(ManagedWindow.ManagedWindow):
|
||||
for key in self.signal_keys:
|
||||
self.db.disconnect(key)
|
||||
self._cleanup_on_exit()
|
||||
self._save_size()
|
||||
ManagedWindow.ManagedWindow.close(self)
|
||||
|
||||
def _save_size(self):
|
||||
if self.HEIGHT_KEY:
|
||||
(width, height) = self.window.get_size()
|
||||
Config.set(self.WIDTH_KEY, width)
|
||||
Config.set(self.HEIGHT_KEY, height)
|
||||
Config.sync()
|
||||
|
||||
|
@ -40,6 +40,7 @@ import gtk.glade
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import const
|
||||
import Config
|
||||
from _EditSecondary import EditSecondary
|
||||
|
||||
from GrampsWidgets import *
|
||||
@ -51,6 +52,9 @@ from GrampsWidgets import *
|
||||
#-------------------------------------------------------------------------
|
||||
class EditUrl(EditSecondary):
|
||||
|
||||
WIDTH_KEY = Config.URL_WIDTH
|
||||
HEIGHT_KEY = Config.URL_HEIGHT
|
||||
|
||||
def __init__(self, dbstate, uistate, track, name, url, callback):
|
||||
|
||||
EditSecondary.__init__(self, dbstate, uistate, track,
|
||||
|
@ -4625,31 +4625,6 @@
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">6</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkNotebook" id="notebook_ref">
|
||||
<property name="visible">True</property>
|
||||
@ -7231,13 +7206,10 @@
|
||||
</widget>
|
||||
|
||||
<widget class="GtkDialog" id="attr_edit">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes"></property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||
<property name="modal">False</property>
|
||||
<property name="default_width">600</property>
|
||||
<property name="default_height">400</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">False</property>
|
||||
<property name="decorated">True</property>
|
||||
@ -7318,31 +7290,6 @@
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">10</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table22">
|
||||
<property name="border_width">12</property>
|
||||
@ -7582,31 +7529,6 @@
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">10</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table23">
|
||||
<property name="border_width">12</property>
|
||||
@ -8042,7 +7964,6 @@
|
||||
</widget>
|
||||
|
||||
<widget class="GtkDialog" id="url_edit">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes"></property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||
@ -8129,31 +8050,6 @@
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">10</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table27">
|
||||
<property name="border_width">12</property>
|
||||
@ -8453,31 +8349,6 @@
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">10</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table65">
|
||||
<property name="border_width">12</property>
|
||||
@ -9393,31 +9264,6 @@
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">6</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox88">
|
||||
<property name="visible">True</property>
|
||||
@ -10408,7 +10254,6 @@
|
||||
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
||||
<property name="modal">False</property>
|
||||
<property name="default_width">600</property>
|
||||
<property name="default_height">450</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">False</property>
|
||||
<property name="decorated">True</property>
|
||||
@ -10482,31 +10327,6 @@
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="eer_title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">12</property>
|
||||
<property name="ypad">12</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label517">
|
||||
<property name="visible">True</property>
|
||||
@ -11331,31 +11151,6 @@
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="source_title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">12</property>
|
||||
<property name="ypad">12</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label602">
|
||||
<property name="visible">True</property>
|
||||
@ -12121,13 +11916,10 @@ Very High</property>
|
||||
</widget>
|
||||
|
||||
<widget class="GtkDialog" id="repository_ref_edit">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes"></property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||
<property name="modal">False</property>
|
||||
<property name="default_width">600</property>
|
||||
<property name="default_height">450</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">False</property>
|
||||
<property name="decorated">True</property>
|
||||
@ -12210,31 +12002,6 @@ Very High</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="repo_title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">12</property>
|
||||
<property name="ypad">12</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label631">
|
||||
<property name="visible">True</property>
|
||||
@ -12845,31 +12612,6 @@ Very High</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">10</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table">
|
||||
<property name="border_width">12</property>
|
||||
@ -13348,13 +13090,10 @@ Very High</property>
|
||||
</widget>
|
||||
|
||||
<widget class="GtkDialog" id="addr_edit">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes"></property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||
<property name="modal">False</property>
|
||||
<property name="default_width">600</property>
|
||||
<property name="default_height">450</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">False</property>
|
||||
<property name="decorated">True</property>
|
||||
@ -13436,31 +13175,6 @@ Very High</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">10</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table26">
|
||||
<property name="border_width">12</property>
|
||||
@ -13986,31 +13700,6 @@ Very High</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">10</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table73">
|
||||
<property name="border_width">12</property>
|
||||
@ -14293,31 +13982,6 @@ Very High</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="title">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_CENTER</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">10</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table74">
|
||||
<property name="border_width">12</property>
|
||||
|
Loading…
Reference in New Issue
Block a user