[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/plasmate
From: Sebastian Kügler <sebas () kde ! org>
Date: 2011-03-13 5:21:56
Message-ID: 20110313052156.D2D49AC8C7 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1224658 by sebas:
change icon, add myself to authors
Also enable/disable language label when appropriate
I've noticed that many of the files don't have proper copyright headers,
I'll send an email to the authors about this to streamline licensing.
M +4 -3 main.cpp
M +3 -3 plasmate.desktop
M +4 -1 startpage.cpp
M +5 -2 startpage.ui
--- trunk/playground/base/plasma/plasmate/main.cpp #1224657:1224658
@@ -17,11 +17,12 @@
int main(int argc, char *argv[])
{
KAboutData aboutData("plasmate", 0, ki18n("Plasmate"),
- "0.1alpha2", ki18n("A Plasma Add-ons Creator"),
+ "0.1alpha2", ki18n("A Plasma Add-Ons Creator"),
KAboutData::License_GPL,
- ki18n("(c) 2009-2010 Plasma Development Team"),
+ ki18n("Copyright 2009-2011 Plasma Development Team"),
KLocalizedString(), "", "plasma-devel@kde.org");
+ aboutData.addAuthor(ki18n("Sebastian Kügler"), ki18n("Author"), \
"sebas@kde.org");
aboutData.addAuthor(ki18n("Shantanu Tushar Jha"), ki18n("Author"), \
"jhahoneyk@gmail.com");
aboutData.addAuthor(ki18n("Diego Casella"), ki18n("Author"), \
"polentino911@gmail.com");
aboutData.addAuthor(ki18n("Yuen Hoe Lim"), ki18n("Author"), \
"yuenhoe@hotmail.com"); @@ -31,7 +32,7 @@
aboutData.addAuthor(ki18n("Aaron Seigo"), ki18n("Author"), "aseigo@kde.org");
aboutData.addAuthor(ki18n("Riccardo Iaconelli"), ki18n("Author"), \
"riccardo@kde.org");
- aboutData.setProgramIconName("plasma");
+ aboutData.setProgramIconName("plasmagik");
KCmdLineArgs::init(argc, argv, &aboutData);
--- trunk/playground/base/plasma/plasmate/plasmate.desktop #1224657:1224658
@@ -1,7 +1,7 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Terminal=false
-Name=PlasMate
+Name=Plasmate
Name[en_GB]=PlasMate
Name[et]=PlasMate
Name[km]=PlasMate
@@ -12,7 +12,7 @@
Name[sv]=Plasmate
Name[uk]=PlasMate
Name[x-test]=xxPlasMatexx
-GenericName=PlasMate - The Plasma Add Ons Creator
+GenericName=PlasMate - The Plasma Add-Ons Creator
GenericName[en_GB]=PlasMate - The Plasma Add Ons Creator
GenericName[et]=PlasMate - Plasma lisandite looja
GenericName[km]=PlasMate - \
កម្មវិធីបង្កើតកម្មវិធីបន្ថែមប្លាស្មា
@@ -23,7 +23,7 @@
GenericName[uk]=PlasMate — програма для створення \
додатків Плазми GenericName[x-test]=xxPlasMate - The Plasma Add Ons \
Creatorxx Exec=plasmate
-Icon=plasma
+Icon=plasmagik
Type=Application
InitialPreference=7
Categories=KDE;Development;
--- trunk/playground/base/plasma/plasmate/startpage.cpp #1224657:1224658
@@ -120,7 +120,7 @@
connect(projectManager, SIGNAL(requestRefresh()),
this, SLOT(refreshRecentProjectsList()));
- new QListWidgetItem(KIcon("application-x-plasma"), i18n("Plasmoid"), \
ui->contentTypes); + new QListWidgetItem(KIcon("application-x-plasma"), \
i18n("Plasma Widget"), ui->contentTypes);
new QListWidgetItem(KIcon("kexi"), i18n("Data Engine"), ui->contentTypes);
new QListWidgetItem(KIcon("system-run"), i18n("Runner"), ui->contentTypes);
new QListWidgetItem(KIcon("inkscape"), i18n("Theme"), ui->contentTypes);
@@ -154,6 +154,7 @@
void StartPage::validateProjectType(const QModelIndex &sender)
{
if (sender.row() == 1) {
+ ui->languageLabel->setEnabled(true);
ui->radioButtonJs->setEnabled(true);
// gotta explicitly setEnabled to true in case it
// was falsed before!
@@ -164,6 +165,7 @@
ui->radioButtonDe->setEnabled(true);
ui->newProjectButton->setEnabled(!ui->projectName->text().isEmpty()); // in \
case previously falsed } else if (sender.row() == 2) {
+ ui->languageLabel->setEnabled(true);
ui->radioButtonJs->setEnabled(true);
ui->radioButtonJs->setChecked(true);
ui->radioButtonPy->setEnabled(true);
@@ -172,6 +174,7 @@
ui->newProjectButton->setEnabled(!ui->projectName->text().isEmpty()); // in \
case previously falsed
} else if (sender.row() == 3) {
+ ui->languageLabel->setEnabled(false);
ui->radioButtonJs->setEnabled(false);
ui->radioButtonPy->setEnabled(false);
ui->radioButtonRb->setEnabled(false);
--- trunk/playground/base/plasma/plasmate/startpage.ui #1224657:1224658
@@ -52,6 +52,9 @@
<property name="wordWrap">
<bool>true</bool>
</property>
+ <property name="margin">
+ <number>4</number>
+ </property>
</widget>
</item>
<item>
@@ -69,7 +72,7 @@
</size>
</property>
<property name="currentIndex">
- <number>0</number>
+ <number>1</number>
</property>
<widget class="QWidget" name="stackedWidgetPageOne">
<layout class="QVBoxLayout" name="verticalLayout">
@@ -397,7 +400,7 @@
</widget>
</item>
<item row="4" column="0">
- <widget class="QLabel" name="label_8">
+ <widget class="QLabel" name="languageLabel">
<property name="text">
<string><b>Language</b></string>
</property>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic