From: Eugene Chornyi Date: Wed, 11 Oct 2023 20:03:29 +0000 (+0200) Subject: amend 072ba7bd X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f1deb1c658c121e21d484130dbd1ba4e6feaa9f4;p=features.git amend 072ba7bd --- diff --git a/lib/configure.py b/lib/configure.py index e5f71f7a2a..5d0806e267 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -2004,7 +2004,7 @@ if __name__ == '__main__': lyx_check_config = True lyx_kpsewhich = True outfile = 'lyxrc.defaults' - lyxrc_fileformat = 37 + lyxrc_fileformat = 38 rc_entries = '' lyx_keep_temps = False version_suffix = '' diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx index 1239e73704..a4a53cff67 100644 --- a/lib/doc/UserGuide.lyx +++ b/lib/doc/UserGuide.lyx @@ -1,5 +1,5 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 618 +\lyxformat 620 \begin_document \begin_header \save_transient_properties true @@ -167,6 +167,7 @@ logicalmkup \author 5863208 "ab" \author 5863344 "Enrico Forestieri" \author 244031559 "Yuriy" +\author 258250489 "eugen" \author 274215730 "scott" \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr \author 1064312605 "Udi Fogiel" @@ -58115,6 +58116,33 @@ literal "false" \end_inset . +\change_inserted 258250489 1697053558 + +\end_layout + +\begin_layout Standard + +\change_inserted 258250489 1697054388 + +\family sans +User +\begin_inset space ~ +\end_inset + +interface +\begin_inset space ~ +\end_inset + +style +\family default + allows you to change the look and feel of \SpecialChar LyX +'s user interface control elements. + There may be different choices available on different operating systems. + On certain operating systems some styles may support dark mode while others don't. + In order to use dark mode in \SpecialChar LyX + you may first need to enable it in your system's settings. +\change_unchanged + \end_layout \begin_layout Subsubsection diff --git a/lib/scripts/prefs2prefs_prefs.py b/lib/scripts/prefs2prefs_prefs.py index a5a3a7dbf1..b625909a6d 100644 --- a/lib/scripts/prefs2prefs_prefs.py +++ b/lib/scripts/prefs2prefs_prefs.py @@ -168,6 +168,10 @@ # Add \screen_width # Add \screen_limit +# Incremented to format 38, by ec +# Add option to configure ui style +# No conversion necessary. + # NOTE: The format should also be updated in LYXRC.cpp and # in configure.py (search for lyxrc_fileformat). @@ -555,5 +559,6 @@ conversions = [ [ 34, [rename_cyrillic_kmap_files]], [ 35, [add_dark_color]], [ 36, [add_spellcheck_default]], - [ 37, [remove_fullscreen_widthlimit]] + [ 37, [remove_fullscreen_widthlimit]], + [ 38, []], ] diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index 1c52ef1154..73aec189f3 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -60,7 +60,7 @@ namespace { // The format should also be updated in configure.py, and conversion code // should be added to prefs2prefs_prefs.py. -static unsigned int const LYXRC_FILEFORMAT = 37; // chillenb: screen_width and screen_limit +static unsigned int const LYXRC_FILEFORMAT = 38; // chillenb: screen_width and screen_limit // when adding something to this array keep it sorted! LexerKeyword lyxrcTags[] = { { "\\accept_compound", LyXRC::RC_ACCEPT_COMPOUND },