Add an option to the profile editor to control whether new sessions start in the same directory as the current session.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791273
This commit is contained in:
Robert Knight
2008-03-28 22:16:02 +00:00
parent 484a64d055
commit f73cc9c754
6 changed files with 44 additions and 21 deletions

View File

@@ -78,6 +78,7 @@ const Profile::PropertyInfo Profile::DefaultPropertyNames[] =
, { ShowMenuBar , "ShowMenuBar" , GENERAL_GROUP , QVariant::Bool }
, { TabBarMode , "TabBarMode" , GENERAL_GROUP , QVariant::Int }
, { TabBarPosition , "TabBarPosition" , GENERAL_GROUP , QVariant::Int }
, { StartInCurrentSessionDir , "StartInCurrentSessionDir" , GENERAL_GROUP , QVariant::Bool }
// Appearance
, { Font , "Font" , APPEARANCE_GROUP , QVariant::Font }
@@ -147,7 +148,7 @@ FallbackProfile::FallbackProfile()
setProperty(TabBarMode,AlwaysShowTabBar);
setProperty(TabBarPosition,TabBarBottom);
setProperty(ShowMenuBar,true);
setProperty(StartInCurrentSessionDir,true);
setProperty(KeyBindings,"default");
setProperty(ColorScheme,"Linux");