one less string freeze todo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833969
This commit is contained in:
parent
abf220d8db
commit
9fce6a940f
@ -952,9 +952,8 @@ void Applet::setGlobalShortcut(const KShortcut &shortcut)
|
||||
{
|
||||
if (!d->activationAction) {
|
||||
d->activationAction = new KAction(this);
|
||||
//TODO: add better text when we aren't in a string freeze
|
||||
d->activationAction->setText(name());
|
||||
d->activationAction->setObjectName(QString("Activate %1 Widget").arg(name())); // NO I18N
|
||||
d->activationAction->setText(i18n("Activate %1 Widget").arg(name()));
|
||||
d->activationAction->setObjectName(QString("activate widget %1").arg(name())); // NO I18N
|
||||
connect(d->activationAction, SIGNAL(triggered()), this, SIGNAL(activate()));
|
||||
connect(this, SIGNAL(activate()), this, SLOT(setFocus()));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user