Fix Preferences so <ctrl>PageUp/PageDn doesn't stick on Dates tab
Fixes #11351
This commit is contained in:
parent
5c44d925e1
commit
d5bb4da5a1
@ -1489,6 +1489,26 @@ class GrampsPreferences(ConfigureDialog):
|
|||||||
align=Gtk.Align.CENTER, bold=True)
|
align=Gtk.Align.CENTER, bold=True)
|
||||||
|
|
||||||
row = 1
|
row = 1
|
||||||
|
self.add_pos_int_entry(
|
||||||
|
grid, _('Markup for invalid date format'),
|
||||||
|
row, 'preferences.invalid-date-format',
|
||||||
|
self.update_markup_entry,
|
||||||
|
helptext=_(
|
||||||
|
'Convenience markups are:\n'
|
||||||
|
'<b><b>Bold</b></b>\n'
|
||||||
|
'<big><big>'
|
||||||
|
'Makes font relatively larger</big></big>\n'
|
||||||
|
'<i><i>Italic</i></i>\n'
|
||||||
|
'<s><s>Strikethrough</s></s>\n'
|
||||||
|
'<sub><sub>Subscript</sub></sub>\n'
|
||||||
|
'<sup><sup>Superscript</sup></sup>\n'
|
||||||
|
'<small><small>'
|
||||||
|
'Makes font relatively smaller</small></small>\n'
|
||||||
|
'<tt><tt>Monospace font</tt></tt>\n'
|
||||||
|
'<u><u>Underline</u></u>\n\n'
|
||||||
|
'For example: <u><b>%s</b></u>\n'
|
||||||
|
'will display <u><b>Underlined bold date</b></u>.\n'))
|
||||||
|
row += 1
|
||||||
self.add_spinner(
|
self.add_spinner(
|
||||||
grid, _('Date about range'),
|
grid, _('Date about range'),
|
||||||
row, 'behavior.date-about-range', (1, 9999))
|
row, 'behavior.date-about-range', (1, 9999))
|
||||||
@ -1516,26 +1536,6 @@ class GrampsPreferences(ConfigureDialog):
|
|||||||
self.add_spinner(
|
self.add_spinner(
|
||||||
grid, _('Average years between generations'),
|
grid, _('Average years between generations'),
|
||||||
row, 'behavior.avg-generation-gap', (10, 30))
|
row, 'behavior.avg-generation-gap', (10, 30))
|
||||||
row += 1
|
|
||||||
self.add_pos_int_entry(
|
|
||||||
grid, _('Markup for invalid date format'),
|
|
||||||
row, 'preferences.invalid-date-format',
|
|
||||||
self.update_markup_entry,
|
|
||||||
helptext=_(
|
|
||||||
'Convenience markups are:\n'
|
|
||||||
'<b><b>Bold</b></b>\n'
|
|
||||||
'<big><big>'
|
|
||||||
'Makes font relatively larger</big></big>\n'
|
|
||||||
'<i><i>Italic</i></i>\n'
|
|
||||||
'<s><s>Strikethrough</s></s>\n'
|
|
||||||
'<sub><sub>Subscript</sub></sub>\n'
|
|
||||||
'<sup><sup>Superscript</sup></sup>\n'
|
|
||||||
'<small><small>'
|
|
||||||
'Makes font relatively smaller</small></small>\n'
|
|
||||||
'<tt><tt>Monospace font</tt></tt>\n'
|
|
||||||
'<u><u>Underline</u></u>\n\n'
|
|
||||||
'For example: <u><b>%s</b></u>\n'
|
|
||||||
'will display <u><b>Underlined bold date</b></u>.\n'))
|
|
||||||
|
|
||||||
return _('Dates'), grid
|
return _('Dates'), grid
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user