diff --git a/CHANGELOG b/CHANGELOG index 8ba6aad..8cb3185 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +Ver.1.8.1: +* change pkg update time to hour + Ver.1.8.0: + added scrollbar to configuration interface + added AC lines configuration diff --git a/CHANGELOG-RU b/CHANGELOG-RU index 7aa9738..21c7089 100644 --- a/CHANGELOG-RU +++ b/CHANGELOG-RU @@ -1,3 +1,6 @@ +Вер.1.8.1: +* поле pkg теперь обновляется раз в час + Вер.1.8.0: + добавлены скроллбары в конфигурационный интерфейс + добавлена настройка значений AC diff --git a/PKGBUILD b/PKGBUILD index d194b1e..23e5778 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=kdeplasma-applets-pytextmonitor _pkgname=pytextmonitor -pkgver=1.8.0 +pkgver=1.8.1 pkgrel=1 pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM" arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ optdepends=("amarok: for music player monitor" makedepends=('automoc4' 'cmake') source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) install=${pkgname}.install -md5sums=('9052985dc219e75ffbed88ce3ebf5a32') +md5sums=('de872b28c48b9b4903dcfa50158595dc') backup=('usr/share/config/extsysmon.conf') prepare() { diff --git a/sources/CMakeLists.txt b/sources/CMakeLists.txt index 0e7c6ad..cb30007 100644 --- a/sources/CMakeLists.txt +++ b/sources/CMakeLists.txt @@ -8,7 +8,7 @@ cmake_policy (SET CMP0015 NEW) project (pytextmonitor) set (PROJECT_VERSION_MAJOR 1) set (PROJECT_VERSION_MINOR 8) -set (PROJECT_VERSION_PATCH 0) +set (PROJECT_VERSION_PATCH 1) set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) message (STATUS "Version: ${PROJECT_VERSION}") diff --git a/sources/ptm/contents/code/dataengine.py b/sources/ptm/contents/code/dataengine.py index 1209782..fa3cf6b 100644 --- a/sources/ptm/contents/code/dataengine.py +++ b/sources/ptm/contents/code/dataengine.py @@ -19,6 +19,7 @@ from PyQt4.QtCore import * from PyQt4.QtGui import * +from PyKDE4.plasma import Plasma import datetime @@ -65,7 +66,7 @@ class DataEngine: dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/transmitter/data", self.parent, interval) dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/receiver/data", self.parent, interval) if (bools['pkg'] > 0): - dataEngines['ext'].connectSource("pkg", self.parent, interval) + dataEngines['ext'].connectSource("pkg", self.parent, 60*60*1000, Plasma.AlignToHour) if (bools['player'] > 0): dataEngines['ext'].connectSource("player", self.parent, interval) if (bools['ps'] > 0):