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,8 +6,8 @@ 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"
"PO-Revision-Date: 2016-01-26 21:48+0300\n"
"POT-Creation-Date: 2016-02-03 23:02+0700\n"
"PO-Revision-Date: 2016-02-03 23:03+0700\n"
"Last-Translator: Evgeniy Alekseev <esalexeev@gmail.com>\n"
"Language-Team: English <kde-russian@lists.kde.ru>\n"
"Language: ru\n"
@ -57,6 +57,9 @@ msgstr "Enable notifications"
msgid "Check updates on startup"
msgstr "Check updates on startup"
msgid "Optimize subscription"
msgstr "Optimize subscription"
msgid "Widget height, px"
msgstr "Widget height, px"
@ -356,15 +359,15 @@ msgstr "Upgrades"
msgid "Weathers"
msgstr "Weathers"
msgid "Functions"
msgstr "Functions"
msgid "Add"
msgstr "Add"
msgid "Show value"
msgstr "Show value"
msgid "Add lambda"
msgstr "Add lambda"
msgid "Edit bars"
msgstr "Edit bars"
@ -416,24 +419,6 @@ msgstr "Special thanks to %1"
msgid "Select font"
msgstr "Select font"
msgid "You are using the actual version %1"
msgstr "You are using the actual version %1"
msgid "No new version found"
msgstr "No new version found"
msgid "Current version : %1"
msgstr "Current version : %1"
msgid "New version : %1"
msgstr "New version : %1"
msgid "Click \"Ok\" to download"
msgstr "Click \"Ok\" to download"
msgid "There are updates"
msgstr "There are updates"
msgid "AC online"
msgstr "AC online"
@ -461,6 +446,27 @@ msgstr "MB/s"
msgid "KB/s"
msgstr "KB/s"
msgid "Changelog of %1"
msgstr "Changelog of %1"
msgid "You are using the actual version %1"
msgstr "You are using the actual version %1"
msgid "No new version found"
msgstr "No new version found"
msgid "Current version : %1"
msgstr "Current version : %1"
msgid "New version : %1"
msgstr "New version : %1"
msgid "Click \"Ok\" to download"
msgstr "Click \"Ok\" to download"
msgid "There are updates"
msgstr "There are updates"
msgid "Copy"
msgstr "Copy"
@ -612,6 +618,9 @@ msgctxt "EMAIL OF TRANSLATORS"
msgid "Your emails"
msgstr "esalexeev@gmail.com"
#~ msgid "Add lambda"
#~ msgstr "Add lambda"
#~ msgid "Free space on %1 less than 10%"
#~ msgstr "Free space on %1 less than 10%"