Simpler menu text. The exact choice of word for the options dialog is something that can be discussed at Akademy. Remove untranslated menu title.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=681121
This commit is contained in:
Robert Knight 2007-06-27 23:48:09 +00:00
parent 9b8a171da8
commit 6558b376af

View File

@ -309,20 +309,18 @@ void Corona::contextMenuEvent(QGraphicsSceneContextMenuEvent *contextMenuEvent)
return; return;
} }
desktopMenu.addTitle("Plasma");
desktopMenu.addAction(d->engineExplorerAction); desktopMenu.addAction(d->engineExplorerAction);
} else if (applet->immutable()) { } else if (applet->immutable()) {
return; return;
} else { } else {
desktopMenu.addTitle(applet->name());
desktopMenu.addSeparator(); desktopMenu.addSeparator();
QAction* configureApplet = new QAction(i18n("Configure Plasmoid..."), this); QAction* configureApplet = new QAction(i18n("Settings..."), this);
connect(configureApplet, SIGNAL(triggered(bool)), connect(configureApplet, SIGNAL(triggered(bool)),
applet, SLOT(configureDialog())); //This isn't implemented in Applet yet... applet, SLOT(configureDialog())); //This isn't implemented in Applet yet...
desktopMenu.addAction(configureApplet); desktopMenu.addAction(configureApplet);
if (!d->immutable) { if (!d->immutable) {
QAction* closeApplet = new QAction(i18n("Close Plasmoid"), this); QAction* closeApplet = new QAction(i18n("Close"), this);
connect(closeApplet, SIGNAL(triggered(bool)), connect(closeApplet, SIGNAL(triggered(bool)),
applet, SLOT(deleteLater())); applet, SLOT(deleteLater()));
desktopMenu.addAction(closeApplet); desktopMenu.addAction(closeApplet);