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

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \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-09-27 12:37+0300\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: Ukrainian <kde-russian@lists.kde.ru>\n"
@ -59,6 +59,9 @@ msgstr "Включити повідомлення"
msgid "Check updates on startup"
msgstr "Перевіряти оновлення при запуску"
msgid "Optimize subscription"
msgstr ""
msgid "Widget height, px"
msgstr "Висота віджету, пікселі"
@ -374,15 +377,15 @@ msgstr "Оновлення"
msgid "Weathers"
msgstr "Погода"
msgid "Functions"
msgstr ""
msgid "Add"
msgstr "Додати"
msgid "Show value"
msgstr "Показати значення"
msgid "Add lambda"
msgstr "Додати лямбду"
msgid "Edit bars"
msgstr "Редагувати бари"
@ -434,25 +437,6 @@ msgstr ""
msgid "Select font"
msgstr "Оберіть шрифт"
msgid "You are using the actual version %1"
msgstr "Ви використовуєте актуальну версію %1"
#, fuzzy
msgid "No new version found"
msgstr "Оновлень не знайдено"
msgid "Current version : %1"
msgstr "Поточна версія : %1"
msgid "New version : %1"
msgstr "Нова версія : %1"
msgid "Click \"Ok\" to download"
msgstr "Натисніть \"Ok\" для завантаження"
msgid "There are updates"
msgstr "Знайдені оновлення"
msgid "AC online"
msgstr "AC підключений"
@ -480,6 +464,28 @@ msgstr "МБ/с"
msgid "KB/s"
msgstr "КБ/с"
msgid "Changelog of %1"
msgstr ""
msgid "You are using the actual version %1"
msgstr "Ви використовуєте актуальну версію %1"
#, fuzzy
msgid "No new version found"
msgstr "Оновлень не знайдено"
msgid "Current version : %1"
msgstr "Поточна версія : %1"
msgid "New version : %1"
msgstr "Нова версія : %1"
msgid "Click \"Ok\" to download"
msgstr "Натисніть \"Ok\" для завантаження"
msgid "There are updates"
msgstr "Знайдені оновлення"
msgid "Copy"
msgstr "Копіювати"
@ -640,6 +646,9 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "sarumyan@i.ua"
#~ msgid "Add lambda"
#~ msgstr "Додати лямбду"
#~ msgid "Free space on %1 less than 10%"
#~ msgstr "Вільний простір на диску %1 меньше ніж 10%"