Let filenames to be longer in window title.

Fixes first part of #7182


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36950 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-12-19 22:05:48 +00:00
parent 300cd0dedd
commit 5007ee4dad

View File

@ -1278,7 +1278,7 @@ void GuiWorkArea::updateWindowTitle()
Buffer & buf = buffer_view_->buffer();
FileName const fileName = buf.fileName();
if (!fileName.empty()) {
maximize_title = fileName.displayName(30);
maximize_title = fileName.displayName(130);
minimize_title = from_utf8(fileName.onlyFileName());
if (buf.lyxvc().inUse()) {
if (buf.lyxvc().locking())