Save and load environment variables as part of the profile. Defaults to just 'TERM=xterm'. Allow editing of the environment in the profile editor (not just the TERM variable). Separate out the tab-related options into their own tab in the profile editor and rename 'Keyboard Setup' to 'Input' as that seems a more obvious name.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679103
This commit is contained in:
Robert Knight
2007-06-23 02:09:21 +00:00
parent d591661c8d
commit 2a1109196f
9 changed files with 201 additions and 79 deletions

View File

@@ -383,6 +383,9 @@ void SessionManager::applyProfile(Session* session, const Profile* info , bool m
if ( !modifiedPropertiesOnly || info->isPropertySet(Profile::Directory) )
session->setInitialWorkingDirectory(info->defaultWorkingDirectory());
if ( !modifiedPropertiesOnly || info->isPropertySet(Profile::Environment) )
session->setEnvironment(info->property(Profile::Environment).value<QStringList>());
if ( !modifiedPropertiesOnly || info->isPropertySet(Profile::Icon) )
session->setIconName(info->icon());