The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit a982bdc5fa3674d02c98e74f89755661a3fd2333
Author: Pavel Sanda <sa...@lyx.org>
Date:   Sat Sep 29 20:04:56 2012 +0200

    Attempt to bump prefs2prefs_lfuns.py.

diff --git a/lib/scripts/prefs2prefs_lfuns.py b/lib/scripts/prefs2prefs_lfuns.py
index 1295a7d..0461cc2 100644
--- a/lib/scripts/prefs2prefs_lfuns.py
+++ b/lib/scripts/prefs2prefs_lfuns.py
@@ -146,6 +146,15 @@ def Bar2bar(line):
        newline = btype + " \"" + mod + "bar\"" + rest
        return (True, newline)
 
+def paragraph_break(line):
+       return simple_renaming(line, "break-paragraph", "paragraph-break")
+
+def tab_group_close(line):
+       return simple_renaming(line, "close-tab-group", "tab-group-close")
+
+def view_split(line):
+       return simple_renaming(line, "split-view", "view-split")
+
 #
 #
 ###########################################################
@@ -154,7 +163,7 @@ def Bar2bar(line):
 # Conversion chain
 
 conversions = [
-       [  1, [ # this will be a long list of conversions to format 1
+       [  1, [ # this will be a long list of conversions to format 1, LyX 2.0
                next_inset_toggle,
                next_inset_modify,
                optional_insert,
@@ -166,5 +175,10 @@ conversions = [
                tabular_feature,
                Bar2bar
        ]],
+       [  2, [ # list of conversions to format 2, LyX 2.1
+               paragraph_break,
+               tab_group_close,
+               view_split
+       ]],
 ]
 

-----------------------------------------------------------------------

Summary of changes:
 lib/scripts/prefs2prefs_lfuns.py |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to