mirror of
https://github.com/KDE/konsole.git
synced 2026-05-05 13:14:22 -04:00
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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user