Never ever discrespect the users current setting. NEVER
svn path=/trunk/KDE/kdebase/workspace/; revision=1021764
This commit is contained in:
parent
6b8a3a61a1
commit
22cb0b0226
1 changed files with 8 additions and 1 deletions
|
@ -232,7 +232,14 @@ void KWinDesktopConfig::load()
|
|||
int n = info.numberOfDesktops();
|
||||
|
||||
m_ui->numberSpinBox->setValue(n);
|
||||
slotChangeShortcuts(n);
|
||||
for( int i=1; i<n; ++i )
|
||||
{
|
||||
KAction* a = qobject_cast<KAction*>(m_actionCollection->addAction(QString("Switch to Desktop %1").arg(n)));
|
||||
a = qobject_cast<KAction*>(m_switchDesktopCollection->addAction( "Switch One Desktop Down" ));
|
||||
a->setProperty("isConfigurationAction", true);
|
||||
a->setText( i18n("Switch to Desktop %1", n) );
|
||||
a->setGlobalShortcut( KShortcut(), KAction::ActiveShortcut );
|
||||
}
|
||||
|
||||
for( int i = 1; i <= maxDesktops; i++ )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue