mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-10 04:15:51 +00:00
commit before renaming
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# set project name
|
||||
set (SUBPROJECT plasma_applet_ptm-desktop-panel)
|
||||
set (SUBPROJECT plasma_applet_desktop-panel)
|
||||
message (STATUS "Subproject ${SUBPROJECT}")
|
||||
|
||||
# find required libaries
|
||||
|
@ -1,18 +1,18 @@
|
||||
/***************************************************************************
|
||||
* This file is part of pytextmonitor *
|
||||
* This file is part of awesome-widgets *
|
||||
* *
|
||||
* pytextmonitor is free software: you can redistribute it and/or *
|
||||
* awesome-widgets is free software: you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation, either version 3 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* pytextmonitor is distributed in the hope that it will be useful, *
|
||||
* awesome-widgets is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with pytextmonitor. If not, see http://www.gnu.org/licenses/ *
|
||||
* along with awesome-widgets. If not, see http://www.gnu.org/licenses/ *
|
||||
***************************************************************************/
|
||||
|
||||
#include "desktop-panel.h"
|
||||
@ -42,7 +42,7 @@ CustomPlasmaLabel::CustomPlasmaLabel(DesktopPanel *wid, const int num)
|
||||
{
|
||||
// debug
|
||||
QProcessEnvironment environment = QProcessEnvironment::systemEnvironment();
|
||||
QString debugEnv = environment.value(QString("PTM_DEBUG"), QString("no"));
|
||||
QString debugEnv = environment.value(QString("DEBUG"), QString("no"));
|
||||
if (debugEnv == QString("yes"))
|
||||
debug = true;
|
||||
else
|
||||
@ -81,7 +81,7 @@ DesktopPanel::DesktopPanel(QObject *parent, const QVariantList &args)
|
||||
{
|
||||
// debug
|
||||
QProcessEnvironment environment = QProcessEnvironment::systemEnvironment();
|
||||
QString debugEnv = environment.value(QString("PTM_DEBUG"), QString("no"));
|
||||
QString debugEnv = environment.value(QString("DEBUG"), QString("no"));
|
||||
if (debugEnv == QString("yes"))
|
||||
debug = true;
|
||||
else
|
||||
|
@ -1,18 +1,18 @@
|
||||
/***************************************************************************
|
||||
* This file is part of pytextmonitor *
|
||||
* This file is part of awesome-widgets *
|
||||
* *
|
||||
* pytextmonitor is free software: you can redistribute it and/or *
|
||||
* awesome-widgets is free software: you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU General Public License as *
|
||||
* published by the Free Software Foundation, either version 3 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
* pytextmonitor is distributed in the hope that it will be useful, *
|
||||
* awesome-widgets is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with pytextmonitor. If not, see http://www.gnu.org/licenses/ *
|
||||
* along with awesome-widgets. If not, see http://www.gnu.org/licenses/ *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
@ -104,7 +104,7 @@ private:
|
||||
QStringList formatLine;
|
||||
};
|
||||
|
||||
K_EXPORT_PLASMA_APPLET(ptm-desktop-panel, DesktopPanel)
|
||||
K_EXPORT_PLASMA_APPLET(desktop-panel, DesktopPanel)
|
||||
|
||||
|
||||
#endif /* DESKTOP_PANEL_H */
|
||||
|
@ -1,24 +1,24 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=PTM Desktop Panel
|
||||
Comment=A minimalistic Plasmoid script written on Python2
|
||||
Comment[en]=A minimalistic Plasmoid script written on Python2
|
||||
Comment[es]=Un plasmoide minimalista escrito en Python2
|
||||
Comment[es]=Un script Plasmoïde minimaliste écrit sur Python2
|
||||
Comment[pt_BR]=Um script Plasmoid escrito em Python2
|
||||
Comment[ru]=Минималистичный плазмоид скрипт, написанный на Python2
|
||||
Comment[uk]=Мінімалістичний плазмоїд, що написаний на Python2
|
||||
Name=Desktop Panel
|
||||
Comment=A minimalistic Plasmoid
|
||||
Comment[en]=A minimalistic Plasmoid
|
||||
Comment[es]=Un plasmoide minimalista
|
||||
Comment[es]=Un script Plasmoïde minimaliste
|
||||
Comment[pt_BR]=Um script Plasmoid
|
||||
Comment[ru]=Минималистичный плазмоид
|
||||
Comment[uk]=Мінімалістичний плазмоїд
|
||||
X-KDE-ServiceTypes=Plasma/Applet
|
||||
Type=Service
|
||||
Icon=utilities-system-monitor
|
||||
|
||||
X-KDE-Library=plasma_applet_ptm-desktop-panel
|
||||
X-KDE-Library=plasma_applet_desktop-panel
|
||||
|
||||
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
|
||||
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
||||
X-KDE-PluginInfo-Name=ptm-desktop-panel
|
||||
X-KDE-PluginInfo-Name=desktop-panel
|
||||
X-KDE-PluginInfo-Version=@PROJECT_VERSION@
|
||||
X-KDE-PluginInfo-Website=http://arcanis.name/projects/pytextmonitor/
|
||||
X-KDE-PluginInfo-Website=http://arcanis.name/projects/awesome-widgets/
|
||||
X-KDE-PluginInfo-Category=System Information
|
||||
X-KDE-PluginInfo-Depends=
|
||||
X-KDE-PluginInfo-License=GPLv3
|
||||
|
@ -18,7 +18,7 @@ foreach (_current_PO_FILE ${_po_files})
|
||||
DEPENDS ${_current_PO_FILE}
|
||||
)
|
||||
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME plasma_applet_ptm-desktop-panel.mo)
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo DESTINATION ${LOCALE_INSTALL_DIR}/${_lang}/LC_MESSAGES/ RENAME plasma_applet_desktop-panel.mo)
|
||||
list (APPEND _gmoFiles ${_gmoFile})
|
||||
endforeach (_current_PO_FILE)
|
||||
add_custom_target (pofiles ALL DEPENDS ${_gmoFiles})
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
BASEDIR="../" # root of translatable sources
|
||||
PROJECT="plasma_applet_ptm-desktop-panel" # project name
|
||||
BUGADDR="https://github.com/arcan1s/pytextmonitor/issues" # MSGID-Bugs
|
||||
PROJECT="plasma_applet_desktop-panel" # project name
|
||||
BUGADDR="https://github.com/arcan1s/awesome-widgets/issues" # MSGID-Bugs
|
||||
WDIR=`pwd` # working dir
|
||||
|
||||
echo "Preparing rc files"
|
||||
|
Reference in New Issue
Block a user