diff options
author | Ken Moore <moorekou@gmail.com> | 2016-06-14 09:40:15 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-06-14 09:40:15 -0400 |
commit | a399c140305d5100f8dd9ca720e1c104451d874f (patch) | |
tree | 9403ef24fd6bf49a35b30d00343de286e014e646 /src-qt5/desktop-utils/lumina-terminal | |
parent | A few changes: (diff) | |
download | lumina-a399c140305d5100f8dd9ca720e1c104451d874f.tar.gz lumina-a399c140305d5100f8dd9ca720e1c104451d874f.tar.bz2 lumina-a399c140305d5100f8dd9ca720e1c104451d874f.zip |
Large update to the project files:
1) Move from "NO_I18N" to "WITH_I18N". This will ensure that the source version of the localizations are not installed unless explicitly requested (since the "real" localization files are in the lumina-i18n repo - these source files are theauto-generated ones before getting sent up to the pootle localization system).
2) Add a few more .desktop files for the various Lumina utilities.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-terminal')
-rw-r--r-- | src-qt5/desktop-utils/lumina-terminal/lumina-terminal.pro | 10 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-terminal/main.cpp | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/src-qt5/desktop-utils/lumina-terminal/lumina-terminal.pro b/src-qt5/desktop-utils/lumina-terminal/lumina-terminal.pro index 104ff33f..c71bafe7 100644 --- a/src-qt5/desktop-utils/lumina-terminal/lumina-terminal.pro +++ b/src-qt5/desktop-utils/lumina-terminal/lumina-terminal.pro @@ -88,9 +88,11 @@ TRANSLATIONS = i18n/lumina-terminal_af.ts \ dotrans.path=$${L_SHAREDIR}/Lumina-DE/i18n/ dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/Lumina-DE/i18n/ -INSTALLS += target dotrans +desktop.files=lumina-terminal.desktop +desktop.path=$${L_SHAREDIR}/applications/ -NO_I18N{ - INSTALLS -= dotrans -} +INSTALLS += target desktop +WITH_I18N{ + INSTALLS += dotrans +} diff --git a/src-qt5/desktop-utils/lumina-terminal/main.cpp b/src-qt5/desktop-utils/lumina-terminal/main.cpp index 896f7765..7375b074 100644 --- a/src-qt5/desktop-utils/lumina-terminal/main.cpp +++ b/src-qt5/desktop-utils/lumina-terminal/main.cpp @@ -19,19 +19,19 @@ int main(int argc, char *argv[]) { if( !a.isPrimaryProcess() ){ return 0; } //poked the current process instead //First make sure a system tray is available - /*qDebug() << "Checking for system tray"; + qDebug() << "Checking for system tray"; bool ready = false; for(int i=0; i<60 && !ready; i++){ ready = QSystemTrayIcon::isSystemTrayAvailable(); if(!ready){ //Pause for 5 seconds - sleep(5); //don't worry about stopping event handling - nothing running yet + sleep(5); //don't worry about stopping event handling - nothing really running yet } } if(!ready){ qDebug() << "Could not find any available system tray after 5 minutes: exiting...."; return 1; - }*/ + } //Now go ahead and setup the app LuminaThemeEngine theme(&a); |