[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/desktop/shell
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-08-31 23:51:36
Message-ID: 20100831235136.1E11BAC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1170454 by aseigo:

include the plugin name for easier use in scripts


 M  +2 -1      interactiveconsole.cpp  


--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/interactiveconsole.cpp \
#1170453:1170454 @@ -312,7 +312,8 @@
             Plasma::Package package(path, templateStructure);
             const QString scriptFile = package.filePath("mainscript");
             if (!scriptFile.isEmpty()) {
-                QAction *action = m_snippetsMenu->addAction(info.name());
+                QAction *action = m_snippetsMenu->addAction(i18nc("A script template \
name and the internal plugin name for use in the user's scripts", +                   \
"%1 (%2)", info.name(), info.pluginName()));  action->setData(scriptFile);
             }
         }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic