From 50f4601c20e2861debb0f4e095e061299f32470d Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sat, 31 Jan 2009 18:17:36 +0000 Subject: [PATCH] VCS: add GUI notification git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28304 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 4f59041b1f..360884389a 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -1181,8 +1181,12 @@ void GuiWorkArea::updateWindowTitle() if (!fileName.empty()) { maximize_title = fileName.displayName(30); minimize_title = from_utf8(fileName.onlyFileName()); - if (buf.lyxvc().inUse()) - maximize_title += _(" (version control)"); + if (buf.lyxvc().inUse()) { + if (buf.lyxvc().locker().empty()) + maximize_title += _(" (version control)"); + else + maximize_title += _(" (version control, locking)"); + } if (!buf.isClean()) { maximize_title += _(" (changed)"); minimize_title += char_type('*');