mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-25 07:57:19 +00:00
fix twinkle of desktop panel
This commit is contained in:
parent
7dd7251a45
commit
b9c9aac686
2
PKGBUILD
2
PKGBUILD
@ -21,7 +21,7 @@ optdepends=("amarok: for music player monitor"
|
|||||||
makedepends=('automoc4' 'cmake')
|
makedepends=('automoc4' 'cmake')
|
||||||
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
md5sums=('4a7d526fd418513bc329ff2676f636f5')
|
md5sums=('302183c0a39d8c718490eed606ca7795')
|
||||||
backup=('usr/share/config/extsysmon.conf')
|
backup=('usr/share/config/extsysmon.conf')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -227,6 +227,7 @@ void DesktopPanel::reinit()
|
|||||||
layout->addStretch(1);
|
layout->addStretch(1);
|
||||||
|
|
||||||
updateText();
|
updateText();
|
||||||
|
resize(10, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -263,7 +264,6 @@ void DesktopPanel::updateText()
|
|||||||
text = formatLine[0] + line + formatLine[1];
|
text = formatLine[0] + line + formatLine[1];
|
||||||
labels[i]->setText(text);
|
labels[i]->setText(text);
|
||||||
}
|
}
|
||||||
resize(1, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user