possible fix #75

I've added 'optimize' option (by default true). If it options is set
then sources will be checked if they are required (with dependencies if
any). And if they are not required they will be dropped by using common
mechanism.

Please note that if this option enabled the following features (at the
    moment) will be unavailable:

* key request from context menu (from configuration interface it still works)
* notifications event if sources on which notification is not connected

I suppose this commit will increase performance in about 4-5 times.
This commit is contained in:
2016-02-05 11:08:09 +03:00
parent 54e1545bb1
commit d856fa8e97
23 changed files with 522 additions and 374 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Awesome widgets\n"
"Report-Msgid-Bugs-To: https://github.com/arcan1s/awesome-widgets/issues\n"
"POT-Creation-Date: 2016-01-26 21:48+0300\n"
"POT-Creation-Date: 2016-02-03 23:02+0700\n"
"PO-Revision-Date: 2015-08-20 22:52+0300\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Dutch <kde-i18n-nl@kde.org>\n"
@ -61,6 +61,9 @@ msgstr ""
msgid "Check updates on startup"
msgstr "Controleren op updates"
msgid "Optimize subscription"
msgstr ""
msgid "Widget height, px"
msgstr ""
@ -373,15 +376,15 @@ msgstr ""
msgid "Weathers"
msgstr "Balken bewerken"
msgid "Functions"
msgstr ""
msgid "Add"
msgstr "Toevoegen"
msgid "Show value"
msgstr "Waarde weergeven"
msgid "Add lambda"
msgstr ""
msgid "Edit bars"
msgstr "Balken bewerken"
@ -436,25 +439,6 @@ msgstr ""
msgid "Select font"
msgstr "Lettertype selecteren"
msgid "You are using the actual version %1"
msgstr ""
#, fuzzy
msgid "No new version found"
msgstr "Nieuwe versie: %1"
msgid "Current version : %1"
msgstr "Huidige versie: %1"
msgid "New version : %1"
msgstr "Nieuwe versie: %1"
msgid "Click \"Ok\" to download"
msgstr "Klik op \"OK\" om te downloaden"
msgid "There are updates"
msgstr "Er zijn updates"
msgid "AC online"
msgstr "AC online"
@ -483,6 +467,28 @@ msgstr ""
msgid "KB/s"
msgstr ""
msgid "Changelog of %1"
msgstr ""
msgid "You are using the actual version %1"
msgstr ""
#, fuzzy
msgid "No new version found"
msgstr "Nieuwe versie: %1"
msgid "Current version : %1"
msgstr "Huidige versie: %1"
msgid "New version : %1"
msgstr "Nieuwe versie: %1"
msgid "Click \"Ok\" to download"
msgstr "Klik op \"OK\" om te downloaden"
msgid "There are updates"
msgstr "Er zijn updates"
msgid "Copy"
msgstr "Kopiëren"