applet -> widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871125
This commit is contained in:
parent
8cc7800aae
commit
2118460d27
@ -550,7 +550,7 @@ QString Applet::name() const
|
||||
return i18n("%1 Activity", c->activity());
|
||||
}
|
||||
} else if (!d->appletDescription.isValid()) {
|
||||
return i18n("Unknown Applet");
|
||||
return i18n("Unknown Widget");
|
||||
}
|
||||
|
||||
return d->appletDescription.name();
|
||||
|
@ -146,14 +146,14 @@ void Containment::init()
|
||||
appletBrowserAction->setShortcut(QKeySequence("ctrl+a"));
|
||||
d->actions().addAction("add widgets", appletBrowserAction);
|
||||
|
||||
QAction *action = new QAction(i18n("Next Applet"), this);
|
||||
QAction *action = new QAction(i18n("Next Widget"), this);
|
||||
//no icon
|
||||
connect(action, SIGNAL(triggered()), this, SLOT(focusNextApplet()));
|
||||
action->setShortcutContext(Qt::WidgetShortcut);
|
||||
action->setShortcut(QKeySequence("ctrl+n"));
|
||||
d->actions().addAction("next applet", action);
|
||||
|
||||
action = new QAction(i18n("Previous Applet"), this);
|
||||
action = new QAction(i18n("Previous Widget"), this);
|
||||
//no icon
|
||||
connect(action, SIGNAL(triggered()), this, SLOT(focusPreviousApplet()));
|
||||
action->setShortcutContext(Qt::WidgetShortcut);
|
||||
|
@ -73,7 +73,7 @@ GLApplet::GLApplet(QGraphicsItem *parent,
|
||||
if (!d->dummy->isValid() ||
|
||||
!QGLPixelBuffer::hasOpenGLPbuffers() ||
|
||||
!d->pbuf->isValid()) {
|
||||
setFailedToLaunch(true, i18n("This system does not support OpenGL applets."));
|
||||
setFailedToLaunch(true, i18n("This system does not support OpenGL widgets."));
|
||||
}
|
||||
}
|
||||
|
||||
@ -84,7 +84,7 @@ GLApplet::GLApplet(QObject *parent, const QVariantList &args)
|
||||
if (!d->dummy->isValid() ||
|
||||
!QGLPixelBuffer::hasOpenGLPbuffers() ||
|
||||
!d->pbuf->isValid()) {
|
||||
setFailedToLaunch(true, i18n("This system does not support OpenGL applets."));
|
||||
setFailedToLaunch(true, i18n("This system does not support OpenGL widgets."));
|
||||
}
|
||||
}
|
||||
|
||||
@ -181,7 +181,7 @@ void GLApplet::paintInterface(QPainter *painter,
|
||||
if ((!d->dummy->isValid() ||
|
||||
!d->pbuf->isValid())) {
|
||||
if (!hasFailedToLaunch()) {
|
||||
setFailedToLaunch(true, i18n("Your machine does not support OpenGL applets."));
|
||||
setFailedToLaunch(true, i18n("Your machine does not support OpenGL widgets."));
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user