[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [konsole] src: Change the default LocalTabTitleFormat to use %D
From:       Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date:       2011-07-31 19:45:51
Message-ID: 20110731194551.4C970A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit febd3c63da2cbaa9d99a9f2d1c7264de58d6bd7d by Kurt Hindenburg.
Committed on 31/07/2011 at 21:42.
Pushed by hindenburg into branch 'master'.

Change the default LocalTabTitleFormat to use %D instead of %d

%d will shorten the directory name whereas %D will not.  For some
users, having %d as the default is confusing as they don't understand
why some directories are not displaying correctly in the tab text.
Currently there is no UI to examine or change which folder names will be
shorten.

CCBUG: 190281

M  +1    -1    src/Profile.cpp

http://commits.kde.org/konsole/febd3c63da2cbaa9d99a9f2d1c7264de58d6bd7d

diff --git a/src/Profile.cpp b/src/Profile.cpp
index 42af4d3..32badb1 100644
--- a/src/Profile.cpp
+++ b/src/Profile.cpp
@@ -153,7 +153,7 @@ FallbackProfile::FallbackProfile()
     setProperty(Icon,"utilities-terminal");
     setProperty(Arguments,QStringList() << qgetenv("SHELL"));
     setProperty(Environment,QStringList() << "TERM=xterm");
-    setProperty(LocalTabTitleFormat,"%d : %n");
+    setProperty(LocalTabTitleFormat,"%D : %n");
     setProperty(RemoteTabTitleFormat,"(%u) %H");
     setProperty(TabBarMode,AlwaysShowTabBar);
     setProperty(TabBarPosition,TabBarBottom);

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic