changed size-grip options to have a 'always/when needed/never' behavior, rather than 'yes/no'. The default is 'when needed'.
svn path=/trunk/KDE/kdebase/workspace/; revision=1018651
This commit is contained in:
parent
ccafe11f81
commit
8bc71b5b3c
1 changed files with 6 additions and 3 deletions
|
@ -64,11 +64,11 @@ namespace Nitrogen
|
||||||
connect( user_interface_->buttonType, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) );
|
connect( user_interface_->buttonType, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) );
|
||||||
connect( user_interface_->frameBorder, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) );
|
connect( user_interface_->frameBorder, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) );
|
||||||
connect( user_interface_->blendColor, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) );
|
connect( user_interface_->blendColor, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) );
|
||||||
|
connect( user_interface_->sizeGripMode, SIGNAL(currentIndexChanged(int)), SIGNAL(changed()) );
|
||||||
|
|
||||||
connect( user_interface_->showStripes, SIGNAL(clicked()), SIGNAL(changed()) );
|
connect( user_interface_->showStripes, SIGNAL(clicked()), SIGNAL(changed()) );
|
||||||
connect( user_interface_->drawSeparator, SIGNAL(clicked()), SIGNAL(changed()) );
|
connect( user_interface_->drawSeparator, SIGNAL(clicked()), SIGNAL(changed()) );
|
||||||
connect( user_interface_->overwriteColors, SIGNAL(clicked()), SIGNAL(changed()) );
|
connect( user_interface_->overwriteColors, SIGNAL(clicked()), SIGNAL(changed()) );
|
||||||
connect( user_interface_->drawSizeGrip, SIGNAL(clicked()), SIGNAL(changed()) );
|
|
||||||
connect( user_interface_->useOxygenShadows, SIGNAL(clicked()), SIGNAL(changed()) );
|
connect( user_interface_->useOxygenShadows, SIGNAL(clicked()), SIGNAL(changed()) );
|
||||||
connect( user_interface_->exceptions, SIGNAL(changed()), SIGNAL(changed()) );
|
connect( user_interface_->exceptions, SIGNAL(changed()), SIGNAL(changed()) );
|
||||||
|
|
||||||
|
@ -136,10 +136,13 @@ namespace Nitrogen
|
||||||
NitrogenConfig::FRAME_BORDER,
|
NitrogenConfig::FRAME_BORDER,
|
||||||
NitrogenConfiguration::frameBorderName( NitrogenConfiguration::frameBorder( user_interface_->frameBorder->currentText(), true ), false ) );
|
NitrogenConfiguration::frameBorderName( NitrogenConfiguration::frameBorder( user_interface_->frameBorder->currentText(), true ), false ) );
|
||||||
|
|
||||||
|
configurationGroup.writeEntry(
|
||||||
|
NitrogenConfig::SIZE_GRIP_MODE,
|
||||||
|
NitrogenConfiguration::sizeGripModeName( NitrogenConfiguration::sizeGripMode( user_interface_->sizeGripMode->currentText(), true ), false ) );
|
||||||
|
|
||||||
configurationGroup.writeEntry( NitrogenConfig::SHOW_STRIPES, user_interface_->showStripes->isChecked() );
|
configurationGroup.writeEntry( NitrogenConfig::SHOW_STRIPES, user_interface_->showStripes->isChecked() );
|
||||||
configurationGroup.writeEntry( NitrogenConfig::DRAW_SEPARATOR, user_interface_->drawSeparator->isChecked() );
|
configurationGroup.writeEntry( NitrogenConfig::DRAW_SEPARATOR, user_interface_->drawSeparator->isChecked() );
|
||||||
configurationGroup.writeEntry( NitrogenConfig::OVERWRITE_COLORS, user_interface_->overwriteColors->isChecked() );
|
configurationGroup.writeEntry( NitrogenConfig::OVERWRITE_COLORS, user_interface_->overwriteColors->isChecked() );
|
||||||
configurationGroup.writeEntry( NitrogenConfig::DRAW_SIZE_GRIP, user_interface_->drawSizeGrip->isChecked() );
|
|
||||||
configurationGroup.writeEntry( NitrogenConfig::USE_OXYGEN_SHADOWS, user_interface_->useOxygenShadows->isChecked() );
|
configurationGroup.writeEntry( NitrogenConfig::USE_OXYGEN_SHADOWS, user_interface_->useOxygenShadows->isChecked() );
|
||||||
|
|
||||||
// write exceptions
|
// write exceptions
|
||||||
|
@ -175,11 +178,11 @@ namespace Nitrogen
|
||||||
user_interface_->buttonType->setCurrentIndex( user_interface_->buttonType->findText( configuration.buttonTypeName( true ) ) );
|
user_interface_->buttonType->setCurrentIndex( user_interface_->buttonType->findText( configuration.buttonTypeName( true ) ) );
|
||||||
user_interface_->blendColor->setCurrentIndex( user_interface_->blendColor->findText( configuration.blendColorName( true ) ) );
|
user_interface_->blendColor->setCurrentIndex( user_interface_->blendColor->findText( configuration.blendColorName( true ) ) );
|
||||||
user_interface_->frameBorder->setCurrentIndex( user_interface_->frameBorder->findText( configuration.frameBorderName( true ) ) );
|
user_interface_->frameBorder->setCurrentIndex( user_interface_->frameBorder->findText( configuration.frameBorderName( true ) ) );
|
||||||
|
user_interface_->sizeGripMode->setCurrentIndex( user_interface_->sizeGripMode->findText( configuration.sizeGripModeName( true ) ) );
|
||||||
|
|
||||||
user_interface_->showStripes->setChecked( configuration.showStripes() );
|
user_interface_->showStripes->setChecked( configuration.showStripes() );
|
||||||
user_interface_->drawSeparator->setChecked( configuration.drawSeparator() );
|
user_interface_->drawSeparator->setChecked( configuration.drawSeparator() );
|
||||||
user_interface_->overwriteColors->setChecked( configuration.overwriteColors() );
|
user_interface_->overwriteColors->setChecked( configuration.overwriteColors() );
|
||||||
user_interface_->drawSizeGrip->setChecked( configuration.drawSizeGrip() );
|
|
||||||
user_interface_->useOxygenShadows->setChecked( configuration.useOxygenShadows() );
|
user_interface_->useOxygenShadows->setChecked( configuration.useOxygenShadows() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue