ported back some cosmetics (volume % and clock size) (Closes: #880150)
This commit is contained in:
parent
d0d7ab7076
commit
0a250fee96
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
lxqt-panel (0.12.0-4) experimental; urgency=medium
|
||||
|
||||
* ported back some cosmetics (volume % and clock size)
|
||||
(Closes: #880150)
|
||||
|
||||
-- Alf Gaida <agaida@siduction.org> Sun, 05 Nov 2017 01:49:39 +0100
|
||||
|
||||
lxqt-panel (0.12.0-3) experimental; urgency=medium
|
||||
|
||||
* Fixed host OS query in rules - we really want to know the system
|
||||
|
31
debian/patches/clock-and-volume.patch
vendored
Normal file
31
debian/patches/clock-and-volume.patch
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
Description: some cosmetics backported
|
||||
- display volume percent
|
||||
- fix worldclock size
|
||||
|
||||
Author: Alf Gaida <agaida@siduction.org>
|
||||
Last-Update: 2017-11-05
|
||||
|
||||
--- lxqt-panel-0.12.0.orig/plugin-volume/lxqtvolume.cpp
|
||||
+++ lxqt-panel-0.12.0/plugin-volume/lxqtvolume.cpp
|
||||
@@ -286,7 +286,7 @@ void LXQtVolume::showNotification(bool f
|
||||
if (m_defaultSink->mute())
|
||||
m_notification->setSummary(tr("Volume: muted"));
|
||||
else
|
||||
- m_notification->setSummary(tr("Volume: %1").arg(QString::number(m_defaultSink->volume())));
|
||||
+ m_notification->setSummary(tr("Volume: %1%").arg(QString::number(m_defaultSink->volume())));
|
||||
m_notification->update();
|
||||
}
|
||||
}
|
||||
--- lxqt-panel-0.12.0.orig/plugin-worldclock/lxqtworldclock.cpp
|
||||
+++ lxqt-panel-0.12.0/plugin-worldclock/lxqtworldclock.cpp
|
||||
@@ -132,7 +132,10 @@ void LXQtWorldClock::updateTimeText()
|
||||
|
||||
if (!isUpToDate)
|
||||
{
|
||||
+ const QSize old_size = mContent->sizeHint();
|
||||
mContent->setText(tzNow.toString(preformat(mFormat, timeZone, tzNow)));
|
||||
+ if (old_size != mContent->sizeHint())
|
||||
+ mRotatedWidget->adjustContentSize();
|
||||
mRotatedWidget->update();
|
||||
updatePopupContent();
|
||||
}
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
@ -0,0 +1 @@
|
||||
clock-and-volume.patch
|
Loading…
x
Reference in New Issue
Block a user