From 9393b1558929dfb628dc57c8756d3ca656163d44 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 4 Feb 2006 04:52:16 +0000 Subject: [PATCH] * src/AttrEdit.py: use DisplayTabs * src/NameEdit.py: use DisplayTabs * src/gramps.glade: use DisplayTabs svn: r5882 --- ChangeLog | 3 + src/AttrEdit.py | 85 +-- src/NameEdit.py | 81 +- src/gramps.glade | 1890 ++++++++++++---------------------------------- 4 files changed, 538 insertions(+), 1521 deletions(-) diff --git a/ChangeLog b/ChangeLog index c6ef3d4c1..76348e1f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ 2006-02-03 Don Allingham + * src/AttrEdit.py: use DisplayTabs + * src/NameEdit.py: use DisplayTabs + * src/gramps.glade: use DisplayTabs * src/DisplayTabs.py: Handle notes properly * src/EventEdit.py: commit modified events * src/PeopleModel.py: remove unused functions diff --git a/src/AttrEdit.py b/src/AttrEdit.py index b39c23544..f555b0e66 100644 --- a/src/AttrEdit.py +++ b/src/AttrEdit.py @@ -60,6 +60,7 @@ import DisplayState from QuestionDialog import WarningDialog from WindowUtils import GladeIf +from DisplayTabs import * #------------------------------------------------------------------------- # @@ -93,36 +94,17 @@ class AttributeEditor(DisplayState.ManagedWindow): return self.top = gtk.glade.XML(const.gladeFile, "attr_edit","gramps") - self.slist = self.top.get_widget("slist") self.value_field = self.top.get_widget("attr_value") - self.note_field = self.top.get_widget("attr_note") - self.spell = Spell.Spell(self.note_field) self.attrib_menu = self.top.get_widget("attr_menu") -# self.type_field = self.attrib_menu.child self.source_field = self.top.get_widget("attr_source") self.priv = self.top.get_widget("priv") - self.general_label = self.top.get_widget("general_tab") - self.sources_label = self.top.get_widget("sources_tab") - self.notes_label = self.top.get_widget("note_tab") - self.flowed = self.top.get_widget("attr_flowed") - self.preform = self.top.get_widget("attr_preform") + self.notebook = self.top.get_widget("notebook") self.window = self.top.get_widget("attr_edit") self.type_selector = AutoComp.StandardCustomSelector( Utils.personal_attributes,self.attrib_menu, RelLib.Attribute.CUSTOM,RelLib.Attribute.DESCRIPTION) - if attrib: - self.srcreflist = self.attrib.get_source_references() - else: - self.srcreflist = [] - - self.sourcetab = Sources.SourceTab( - self.state, self.uistate, self.track, - self.srcreflist, self, self.top, self.window, self.slist, - self.top.get_widget('add_src'), self.top.get_widget('edit_src'), - self.top.get_widget('del_src'), self.db.readonly) - if title == ", ": title = _("Attribute Editor") else: @@ -134,16 +116,6 @@ class AttributeEditor(DisplayState.ManagedWindow): self.type_selector.set_values(attrib.get_type()) self.value_field.set_text(attrib.get_value()) self.priv.set_active(attrib.get_privacy()) - - if attrib.get_note(): - self.note_field.get_buffer().set_text(attrib.get_note()) - Utils.bold_label(self.notes_label) - if attrib.get_note_format() == 1: - self.preform.set_active(True) - else: - self.flowed.set_active(True) - else: - Utils.unbold_label(self.notes_label) else: self.attrib = RelLib.Attribute() @@ -152,32 +124,41 @@ class AttributeEditor(DisplayState.ManagedWindow): self.gladeif.connect('button116', 'clicked', self.close_window) self.gladeif.connect('button115', 'clicked', self.on_ok_clicked) self.gladeif.connect('button127', 'clicked', self.on_help_clicked) - self.gladeif.connect('notebook', 'switch_page', self.on_switch_page) if self.db.readonly: w = self.top.get_widget("button115") w.set_sensitive(False) self.value_field.set_editable(False) - self.note_field.set_editable(False) self.attrib_menu.set_sensitive(False) - self.priv.set_sensitive(False) - self.flowed.set_sensitive(False) - self.preform.set_sensitive(False) - - self.update_note_page() - self.window.set_transient_for(self.parent_window) - self.window.show() + + self._create_tabbed_pages() + self.show() + + def _create_tabbed_pages(self): + vbox = self.top.get_widget('vbox') + + self.notebook = gtk.Notebook() + self.srcref_list = self._add_page(SourceEmbedList( + self.state,self.uistate, self.track, + self.attrib.source_list)) + self.note_tab = self._add_page(NoteTab( + self.state, self.uistate, self.track, + self.attrib.get_note_object())) + self.notebook.show_all() + vbox.pack_start(self.notebook,True) + + def _add_page(self,page): + self.notebook.insert_page(page) + self.notebook.set_tab_label(page,page.get_tab_widget()) + return page def on_delete_event(self,obj,b): self.gladeif.close() self.close() - gc.collect() def close_window(self,obj): self.gladeif.close() self.close() - self.window.destroy() - gc.collect() def build_menu_names(self, attrib): if not attrib: @@ -201,10 +182,6 @@ class AttributeEditor(DisplayState.ManagedWindow): attr_data = self.type_selector.get_values() value = unicode(self.value_field.get_text()) - buf = self.note_field.get_buffer() - note = unicode(buf.get_text(buf.get_start_iter(), - buf.get_end_iter(),False)) - format = self.preform.get_active() priv = self.priv.get_active() if (attr_data[0] == RelLib.Attribute.CUSTOM and @@ -216,7 +193,6 @@ class AttributeEditor(DisplayState.ManagedWindow): self.alist.append(attr_data[1]) self.alist.sort() - self.attrib.set_source_reference_list(self.srcreflist) self.update(attr_data,value,note,format,priv) self.callback(self.attrib) self.close_window(obj) @@ -231,19 +207,4 @@ class AttributeEditor(DisplayState.ManagedWindow): """Compares the data items, and updates if necessary""" self.check(self.attrib.get_type,self.attrib.set_type,attr_data) self.check(self.attrib.get_value,self.attrib.set_value,value) - self.check(self.attrib.get_note,self.attrib.set_note,note) - self.check(self.attrib.get_note_format,self.attrib.set_note_format,format) self.check(self.attrib.get_privacy,self.attrib.set_privacy,priv) - - def on_switch_page(self,obj,a,page): - self.update_note_page() - - def update_note_page(self): - buf = self.note_field.get_buffer() - start = buf.get_start_iter() - end = buf.get_end_iter() - text = unicode(buf.get_text(start,end,False)) - if text: - Utils.bold_label(self.notes_label) - else: - Utils.unbold_label(self.notes_label) diff --git a/src/NameEdit.py b/src/NameEdit.py index 55ff40b75..824f1235d 100644 --- a/src/NameEdit.py +++ b/src/NameEdit.py @@ -52,6 +52,7 @@ import DateHandler import Spell import GrampsDisplay import DisplayState +from DisplayTabs import * from WindowUtils import GladeIf @@ -65,6 +66,7 @@ class NameEditor(DisplayState.ManagedWindow): def __init__(self, dbstate, uistate, track, name, callback): self.db = dbstate.db + self.dbstate = dbstate self.uistate = uistate self.state = dbstate self.callback = callback @@ -90,16 +92,13 @@ class NameEditor(DisplayState.ManagedWindow): self.suffix_field.set_editable(not self.db.readonly) self.patronymic_field = self.top.get_widget("patronymic") self.patronymic_field.set_editable(not self.db.readonly) - self.combo = self.top.get_widget("alt_surname_list") - self.combo.set_sensitive(not self.db.readonly) + self.surname_field = self.top.get_widget("alt_surname") self.date = self.top.get_widget('date') self.date.set_editable(not self.db.readonly) if self.name: - self.srcreflist = self.name.get_source_references() self.date_obj = self.name.get_date_object() else: - self.srcreflist = [] self.date_obj = RelLib.Date() self.name = RelLib.Name() @@ -111,27 +110,16 @@ class NameEditor(DisplayState.ManagedWindow): self.date_obj, self.date, date_stat, self.window) - AutoComp.fill_combo(self.combo,self.db.get_surname_list()) - self.surname_field = self.combo.get_child() self.prefix_field = self.top.get_widget("alt_prefix") self.prefix_field.set_editable(not self.db.readonly) self.type_combo = self.top.get_widget("name_type") self.type_combo.set_sensitive(not self.db.readonly) - self.note_field = self.top.get_widget("alt_note") - self.note_field.set_editable(not self.db.readonly) - self.spell = Spell.Spell(self.note_field) - self.slist = self.top.get_widget('slist') self.priv = self.top.get_widget("priv") + self.notebook = self.top.get_widget("notebook") self.general_label = self.top.get_widget("general_tab") - self.sources_label = self.top.get_widget("sources_tab") - self.notes_label = self.top.get_widget("note_tab") self.priv.set_sensitive(not self.db.readonly) - self.flowed = self.top.get_widget("alt_flowed") - self.flowed.set_sensitive(not self.db.readonly) - self.preform = self.top.get_widget("alt_preform") - self.preform.set_sensitive(not self.db.readonly) self.group_over = self.top.get_widget('group_over') self.group_over.set_sensitive(not self.db.readonly) @@ -150,21 +138,12 @@ class NameEditor(DisplayState.ManagedWindow): Utils.set_titles(self.window, alt_title, tmsg, _('Name Editor')) - self.sourcetab = Sources.SourceTab( - self.state, self.uistate, self.track, - self.srcreflist, self, self.top, self.window, self.slist, - self.top.get_widget('add_src'), self.top.get_widget('edit_src'), - self.top.get_widget('del_src'), self.db.readonly) - - self.note_buffer = self.note_field.get_buffer() - self.gladeif.connect('name_edit','delete_event',self.on_delete_event) self.gladeif.connect('button119','clicked',self.close_window) self.gladeif.connect('button118','clicked',self.on_name_edit_ok_clicked) okbtn = self.top.get_widget('button118') okbtn.set_sensitive(not self.db.readonly) self.gladeif.connect('button131','clicked',self.on_help_clicked) - self.gladeif.connect('notebook3','switch_page',self.on_switch_page) self.gladeif.connect('group_over','toggled',self.on_group_over_toggled) if name != None: @@ -177,15 +156,6 @@ class NameEditor(DisplayState.ManagedWindow): self.patronymic_field.set_text(name.get_patronymic()) self.priv.set_active(name.get_privacy()) Utils.bold_label(self.general_label) - if name.get_note(): - self.note_buffer.set_text(name.get_note()) - Utils.bold_label(self.notes_label) - if name.get_note_format() == 1: - self.preform.set_active(1) - else: - self.flowed.set_active(1) - else: - Utils.unbold_label(self.notes_label) self.display_as.set_active(name.get_display_as()) self.sort_as.set_active(name.get_display_as()) grp_as = name.get_group_as() @@ -196,14 +166,17 @@ class NameEditor(DisplayState.ManagedWindow): else: self.display_as.set_active(0) self.sort_as.set_active(0) - Utils.unbold_label(self.notes_label) - Utils.unbold_label(self.sources_label) - Utils.unbold_label(self.general_label) self.surname_field.connect('changed',self.update_group_as) - self.window.set_transient_for(self.parent_window) - self.window.show() + self.srcref_list = self._add_page(SourceEmbedList( + self.dbstate,self.uistate, self.track, + self.name.source_list)) + self.note_tab = self._add_page(NoteTab( + self.dbstate, self.uistate, self.track, + self.name.get_note_object())) + + self.show() def build_menu_names(self,name): if name: @@ -214,6 +187,11 @@ class NameEditor(DisplayState.ManagedWindow): menu_label = _('Name Editor') return (menu_label,submenu_label) + def _add_page(self,page): + self.notebook.insert_page(page) + self.notebook.set_tab_label(page,page.get_tab_widget()) + return page + def update_group_as(self,obj): if not self.group_over.get_active(): if self.name and self.name.get_group_as() != self.name.get_surname(): @@ -237,7 +215,6 @@ class NameEditor(DisplayState.ManagedWindow): def on_delete_event(self,*obj): self.gladeif.close() self.close() - gc.collect() def close_window(self,*obj): self.gladeif.close() @@ -256,9 +233,6 @@ class NameEditor(DisplayState.ManagedWindow): prefix = unicode(self.prefix_field.get_text()) suffix = unicode(self.suffix_field.get_text()) patronymic = unicode(self.patronymic_field.get_text()) - note = unicode(self.note_buffer.get_text(self.note_buffer.get_start_iter(), - self.note_buffer.get_end_iter(),False)) - format = self.preform.get_active() priv = self.priv.get_active() the_type = self.type_selector.get_values() @@ -271,8 +245,6 @@ class NameEditor(DisplayState.ManagedWindow): self.name.set_date_object(self.date_obj) - self.name.set_source_reference_list(self.srcreflist) - grp_as = unicode(self.group_as.get_text()) srn = unicode(self.surname_field.get_text()) @@ -306,11 +278,12 @@ class NameEditor(DisplayState.ManagedWindow): else: self.name.set_group_as(grp_as) - self.update_name(first,last,suffix,patronymic,title,the_type,note,format,priv) + self.update_name(first,last,suffix,patronymic,title,the_type,priv) self.callback(self.name) self.close_window(obj) - def update_name(self,first,last,suffix,patronymic,title,the_type,note,format,priv): + def update_name(self,first,last,suffix,patronymic,title, + the_type,priv): if self.name.get_first_name() != first: self.name.set_first_name(first) @@ -330,20 +303,6 @@ class NameEditor(DisplayState.ManagedWindow): if self.name.get_type() != the_type: self.name.set_type(the_type) - if self.name.get_note() != note: - self.name.set_note(note) - - if self.name.get_note_format() != format: - self.name.set_note_format(format) - if self.name.get_privacy() != priv: self.name.set_privacy(priv) - def on_switch_page(self,obj,a,page): - start = self.note_buffer.get_start_iter() - stop = self.note_buffer.get_end_iter() - text = unicode(self.note_buffer.get_text(start, stop, False)) - if text: - Utils.bold_label(self.notes_label) - else: - Utils.unbold_label(self.notes_label) diff --git a/src/gramps.glade b/src/gramps.glade index 5466b242d..bbf69456d 100644 --- a/src/gramps.glade +++ b/src/gramps.glade @@ -13455,6 +13455,7 @@ Very High GTK_WIN_POS_NONE False 600 + 400 True False gramps.png @@ -13531,7 +13532,7 @@ Very High - + True False 0 @@ -13562,606 +13563,135 @@ Very High - + + 12 True - True - True - True - GTK_POS_TOP - False - False - + 3 + 2 + False + 6 + 12 - - 12 + True - 3 - 2 - False - 6 - 12 - - - - True - _Attribute: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - fill - - - - - - - True - _Value: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - attr_value - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - 0 - 1 - 1 - 2 - fill - - - - - - - True - True - _Private record - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 1 - 2 - 2 - 3 - fill - - - - - - - True - True - True - True - 0 - - True - * - False - - - 1 - 2 - 1 - 2 - - - - - - - True - False - True - True - - - 1 - 2 - 0 - 1 - fill - fill - - + _Attribute: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 - False - True + 0 + 1 + 0 + 1 + fill + - + True - False - 0 - - - - 0.5 - 0.5 - 0 - 0 - - - 0 - True - True - - - - - - True - General - False - True - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - + _Value: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + attr_value + PANGO_ELLIPSIZE_NONE + -1 + False + 0 - tab + 0 + 1 + 1 + 2 + fill + - + True - False - 0 - - - - 12 - True - False - 6 - - - - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - True - False - False - True - False - False - False - - - - - 0 - True - True - - - - - - True - False - 6 - - - - True - True - GTK_RELIEF_NORMAL - True - - - - True - gtk-add - 4 - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - - - - True - True - GTK_RELIEF_NORMAL - True - - - - True - edit_sm.png - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - - - - True - True - GTK_RELIEF_NORMAL - True - - - - True - gtk-remove - 4 - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - - - - - - - 0 - False - True - - - - - 0 - True - True - - - - - - True - GTK_BUTTONBOX_SPREAD - 30 - - - 0 - False - True - - + True + _Private record + True + GTK_RELIEF_NORMAL + True + False + False + True - False - True + 1 + 2 + 2 + 3 + fill + - + True - False - 0 - - - - 0.5 - 0.5 - 0 - 0 - - - 0 - True - True - - - - - - True - Sources - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - + True + True + True + 0 + + True + * + False - tab + 1 + 2 + 1 + 2 + - + True - False - 0 - - - - 300 - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - True - False - True - GTK_JUSTIFY_LEFT - GTK_WRAP_WORD - True - 0 - 0 - 0 - 0 - 0 - 0 - - - - - - 0 - True - True - - - - - - 12 - True - 2 - 3 - False - 12 - 24 - - - - True - <b>Format</b> - True - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 3 - 0 - 1 - fill - - - - - - - True - Formatting is preserved, except for the leading whitespace. Multiple spaces, tabs, and all line breaks are respected. - True - _Preformatted - True - GTK_RELIEF_NORMAL - True - False - False - True - - - 2 - 3 - 1 - 2 - - - - - - - True - Multiple spaces, tabs, and single line breaks are replaced with single spaces. Two consecutive line breaks mark a new paragraph. - True - _Flowed - True - GTK_RELIEF_NORMAL - True - True - False - True - attr_preform - - - 1 - 2 - 1 - 2 - fill - - - - - - 0 - True - True - - + False + True + True - False - True - - - - - - True - False - 0 - - - - 0.5 - 0.5 - 0 - 0 - - - 0 - True - True - - - - - - True - Note - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - tab + 1 + 2 + 0 + 1 + fill + fill 0 - True + False True @@ -15975,6 +15505,7 @@ Very High GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False + 600 True False gramps.png @@ -16084,7 +15615,370 @@ Very High - + + 12 + True + 4 + 4 + False + 6 + 12 + + + + True + _Given: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + alt_given + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + P_atronymic: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + patronymic + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 3 + 4 + fill + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 3 + 4 + + + + + + + True + _Family: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + alt_surname + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 0 + 1 + + + + + + + True + _Prefix: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + alt_prefix + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 2 + 3 + 0 + 1 + fill + + + + + + + True + True + True + True + 0 + + True + * + False + + + 3 + 4 + 0 + 1 + + + + + + + True + True + True + True + True + 0 + + True + * + False + + + 1 + 4 + 1 + 2 + + + + + + + True + _Title: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + alt_title + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 2 + 3 + fill + + + + + + + True + True + True + True + 0 + + True + * + False + + + 1 + 2 + 2 + 3 + + + + + + + True + Suffi_x: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0.5 + 0 + 0 + alt_suffix + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 2 + 3 + 2 + 3 + fill + + + + + + + True + True + True + True + 0 + + True + * + False + + + 3 + 4 + 2 + 3 + + + + + + + True + T_ype: + True + False + GTK_JUSTIFY_CENTER + False + False + 0 + 0 + 1 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 2 + 3 + 3 + 4 + fill + + + + + + + True + False + True + True + + + 3 + 4 + 3 + 4 + fill + fill + + + + + 0 + True + True + + + + + True True True @@ -16098,139 +15992,12 @@ Very High 12 True - 14 + 6 3 False 6 12 - - - True - _Given name: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - alt_given - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - 1 - 2 - 1 - 2 - fill - - - - - - - True - Suffi_x: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - alt_suffix - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - 1 - 2 - 5 - 6 - fill - - - - - - - True - T_ype: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0 - 1 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - 1 - 2 - 7 - 8 - fill - - - - - - - True - _Title: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - alt_title - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - 1 - 2 - 6 - 7 - fill - - - - True @@ -16243,237 +16010,16 @@ Very High False True - - 2 - 3 - 13 - 14 - fill - - - - - - - True - Family _prefix: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - alt_prefix - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - 1 - 2 - 4 - 5 - fill - - - - - - - True - True - True - True - True - 0 - - True - * - False - - - 2 - 3 - 1 - 2 - - - - - - - True - True - True - True - 0 - - True - * - False - - - 2 - 3 - 4 - 5 - - - - - - - True - True - True - True - 0 - - True - * - False - 2 3 5 6 - - - - - - - True - True - True - True - 0 - - True - * - False - - - 2 - 3 - 6 - 7 - - - - - - - True - P_atronymic: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - patronymic - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - 1 - 2 - 3 - 4 fill - - - True - _Family name: - True - False - GTK_JUSTIFY_CENTER - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - - - - 1 - 2 - 2 - 3 - fill - - - - - - - True - False - True - True - - - 2 - 3 - 2 - 3 - fill - fill - - - - - - True - True - True - True - 0 - - True - * - False - - - - - - 2 - 3 - 3 - 4 - - - - True @@ -16496,8 +16042,8 @@ Very High 1 2 - 9 - 10 + 1 + 2 fill @@ -16527,8 +16073,8 @@ Very High 1 2 - 10 - 11 + 2 + 3 fill @@ -16558,36 +16104,8 @@ Very High 1 2 - 11 - 12 - fill - - - - - - - True - <b>Name Information</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 3 - 0 - 1 + 3 + 4 fill @@ -16614,49 +16132,13 @@ Very High 0 3 - 8 - 9 + 0 + 1 fill - - - True - False - True - True - - - 2 - 3 - 7 - 8 - fill - fill - - - - - - True - Default (based on locale) -Family name, Given name -Given name, Family name - False - True - - - 2 - 3 - 10 - 11 - fill - fill - - - True @@ -16670,8 +16152,8 @@ Family name Given name 2 3 - 11 - 12 + 3 + 4 fill fill @@ -16698,8 +16180,8 @@ Family name Given name 1 2 - 12 - 13 + 4 + 5 fill @@ -16758,8 +16240,8 @@ Family name Given name 2 3 - 12 - 13 + 4 + 5 fill fill @@ -16814,12 +16296,30 @@ Family name Given name 2 3 - 9 - 10 + 1 + 2 fill fill + + + + True + Default (based on locale) +Family name, Given name +Given name, Family name + False + True + + + 2 + 3 + 2 + 3 + fill + + False @@ -16877,412 +16377,6 @@ Family name Given name tab - - - - True - False - 0 - - - - 6 - True - False - 6 - - - - True - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - True - False - False - True - False - False - False - - - - - 0 - True - True - - - - - - True - False - 6 - - - - True - True - GTK_RELIEF_NORMAL - True - - - - True - gtk-add - 4 - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - - - - True - True - GTK_RELIEF_NORMAL - True - - - - True - edit_sm.png - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - - - - True - True - GTK_RELIEF_NORMAL - True - - - - True - gtk-remove - 4 - 0.5 - 0.5 - 0 - 0 - - - - - 0 - False - False - - - - - - - - - 0 - False - True - - - - - 0 - True - True - - - - - - True - GTK_BUTTONBOX_SPREAD - 30 - - - 0 - False - True - - - - - False - True - - - - - - True - False - 0 - - - - True - 0.5 - 0.5 - 0 - 0 - - - 0 - True - True - - - - - - True - Sources - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - tab - - - - - - True - False - 0 - - - - 450 - 350 - True - GTK_POLICY_AUTOMATIC - GTK_POLICY_AUTOMATIC - GTK_SHADOW_IN - GTK_CORNER_TOP_LEFT - - - - True - True - True - False - True - GTK_JUSTIFY_LEFT - GTK_WRAP_WORD - True - 0 - 0 - 0 - 0 - 0 - 0 - - - - - - 0 - True - True - - - - - - 12 - True - 2 - 3 - False - 12 - 24 - - - - True - <b>Format</b> - True - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 3 - 0 - 1 - fill - - - - - - - True - Multiple spaces, tabs, and single line breaks are replaced with single spaces. Two consecutive line breaks mark a new paragraph. - True - _Flowed - True - GTK_RELIEF_NORMAL - True - True - False - True - - - 1 - 2 - 1 - 2 - - - - - - - - True - Formatting is preserved, except for the leading whitespace. Multiple spaces, tabs, and all line breaks are respected. - True - _Preformatted - True - GTK_RELIEF_NORMAL - True - False - False - True - alt_flowed - - - 2 - 3 - 1 - 2 - - - - - - - 0 - True - True - - - - - False - True - - - - - - True - False - 0 - - - - True - 0.5 - 0.5 - 0 - 0 - - - 0 - True - True - - - - - - True - Note - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - tab - - 0