mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
restore the old LyX banner in preparation of the next release;
replace banner.ppm by banner.png git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17690 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e45632d1f8
commit
b8e23e46d0
@ -1483,7 +1483,7 @@ lib_images_files = Split('''
|
|||||||
all-changes-reject.xpm
|
all-changes-reject.xpm
|
||||||
all-changes-accept.xpm
|
all-changes-accept.xpm
|
||||||
amssymb.xpm
|
amssymb.xpm
|
||||||
banner.ppm
|
banner.png
|
||||||
bookmark-goto.xpm
|
bookmark-goto.xpm
|
||||||
bookmark-save.xpm
|
bookmark-save.xpm
|
||||||
break-line.xpm
|
break-line.xpm
|
||||||
|
@ -215,7 +215,7 @@ dist_images_DATA = \
|
|||||||
images/all-changes-accept.xpm \
|
images/all-changes-accept.xpm \
|
||||||
images/all-changes-reject.xpm \
|
images/all-changes-reject.xpm \
|
||||||
images/amssymb.xpm \
|
images/amssymb.xpm \
|
||||||
images/banner.ppm \
|
images/banner.png \
|
||||||
images/bookmark-goto.xpm \
|
images/bookmark-goto.xpm \
|
||||||
images/bookmark-save.xpm \
|
images/bookmark-save.xpm \
|
||||||
images/break-line.xpm \
|
images/break-line.xpm \
|
||||||
|
BIN
lib/images/banner.png
Normal file
BIN
lib/images/banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
Binary file not shown.
@ -465,7 +465,7 @@ void GuiWorkArea::doGreyOut(QLPainter & pain)
|
|||||||
LYXERR(Debug::GUI) << "show banner: " << lyxrc.show_banner << endl;
|
LYXERR(Debug::GUI) << "show banner: " << lyxrc.show_banner << endl;
|
||||||
/// The text to be written on top of the pixmap
|
/// The text to be written on top of the pixmap
|
||||||
QString const text = lyx_version ? QString(lyx_version) : qt_("unknown version");
|
QString const text = lyx_version ? QString(lyx_version) : qt_("unknown version");
|
||||||
FileName const file = support::libFileSearch("images", "banner", "ppm");
|
FileName const file = support::libFileSearch("images", "banner", "png");
|
||||||
if (file.empty())
|
if (file.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -68,10 +68,10 @@ Image::FormatList QLImage::loadableFormats()
|
|||||||
|
|
||||||
|
|
||||||
// LYXERR(Debug::GRAPHICS)
|
// LYXERR(Debug::GRAPHICS)
|
||||||
// << "D:/msys/home/yns/src/lyx-devel/lib/images/banner.ppm is of format: "
|
// << "D:/msys/home/yns/src/lyx-devel/lib/images/banner.png mis of format: "
|
||||||
// << fromqstr(Pic.pictureFormat("D:/msys/home/yns/src/lyx-devel/lib/images/banner.ppm"))
|
// << fromqstr(Pic.pictureFormat("D:/msys/home/yns/src/lyx-devel/lib/images/banner.png"))
|
||||||
// << endl;
|
// << endl;
|
||||||
// if (Pic.pictureFormat("D:/msys/home/yns/src/lyx-devel/lib/images/banner.ppm"))
|
// if (Pic.pictureFormat("D:/msys/home/yns/src/lyx-devel/lib/images/banner.png"))
|
||||||
// LYXERR(Debug::GRAPHICS)
|
// LYXERR(Debug::GRAPHICS)
|
||||||
// << "pictureFormat not returned NULL\n" << endl;
|
// << "pictureFormat not returned NULL\n" << endl;
|
||||||
// << "Supported formats are: " << Pic.inputFormats() << endl;
|
// << "Supported formats are: " << Pic.inputFormats() << endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user