]> git.lyx.org Git - features.git/commitdiff
Adding preferences format update as due to commit 4985015 (new close_buffer_with_last...
authorTommaso Cucinotta <tommaso@lyx.org>
Sun, 30 Sep 2012 14:06:21 +0000 (15:06 +0100)
committerTommaso Cucinotta <tommaso@lyx.org>
Mon, 1 Oct 2012 21:30:13 +0000 (22:30 +0100)
lib/scripts/prefs2prefs_prefs.py
src/LyXRC.cpp

index 0716d3802b2b97fd5acd4e540007a4816a148b76..977d2612bc254a64ad59d0db0896cdd08f139c28 100644 (file)
 # Incremented to format 9, a18af620 by spitz
 #  Remove default_language rc.
 
+# Incremented to format 10, 4985015 by tommaso
+#  Add close_buffer_with_last_view in preferences.
+#  No conversion necessary.
+
 import re
 
 ###########################################################
@@ -257,5 +261,6 @@ conversions = [
        [ 6, []],
        [ 7, [add_mime_types]],
        [ 8, []],
-       [ 9, [ remove_default_language ]]
+       [ 9, [ remove_default_language ]],
+       [ 10, []]
 ]
index 0d4c9197cc90cec6a47cf0dc1ca49018fe665e45..52197c2ab6cbe3aa2a050f352719e57ac1ad220d 100644 (file)
@@ -55,7 +55,7 @@ namespace os = support::os;
 
 namespace {
 
-static unsigned int const LYXRC_FILEFORMAT = 9; // spitz: remove \\default_language
+static unsigned int const LYXRC_FILEFORMAT = 10; // tommaso: new prefs option: close_buffer_with_last_view
 
 // when adding something to this array keep it sorted!
 LexerKeyword lyxrcTags[] = {