mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
VCS: add GUI notification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28304 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7ff5bd4c54
commit
50f4601c20
@ -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('*');
|
||||
|
Loading…
Reference in New Issue
Block a user