]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/screen.C
fix rbearing
[lyx.git] / src / frontends / screen.C
index 31220bf0f7dfce598c752c2358895c3c9c729c30..c3c3affcc33f5764fa17156c7b563e68052e5130 100644 (file)
@@ -1,9 +1,11 @@
 /**
  * \file screen.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon 
+ *
+ * Full author contact details are available in file CREDITS
  *
  * Splash screen code added by Angus Leeming
  */
@@ -16,6 +18,7 @@
 
 #include "screen.h"
 #include "lyxtext.h"
+#include "lyxrc.h"
 #include "lyxrow.h"
 #include "BufferView.h"
 #include "buffer.h"
@@ -80,6 +83,9 @@ SplashScreen const & SplashScreen::get()
 SplashScreen::SplashScreen()
        : text_(lyx_version ? lyx_version : "unknown")
 {
+       if (!lyxrc.show_banner)
+               return;
+
        string const file = LibFileSearch("images", "banner", "xpm");
        if (file.empty())
                return;