aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/clock
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-10-07 17:07:13 -0400
committerKen Moore <moorekou@gmail.com>2015-10-07 17:07:13 -0400
commit9fd1372203ef8da796b370e063959c9bab344b1e (patch)
tree3a6c7a5f818487ea4cb1d6e6a8693ade33786ab3 /lumina-desktop/panel-plugins/clock
parentReverse the order of items in the startmenu logout page - now they start at t... (diff)
downloadlumina-9fd1372203ef8da796b370e063959c9bab344b1e.tar.gz
lumina-9fd1372203ef8da796b370e063959c9bab344b1e.tar.bz2
lumina-9fd1372203ef8da796b370e063959c9bab344b1e.zip
Another batch of small fixes:
1) Add a new ResizeMenu() class to the LuminaUtils library - this class allows the resulting menu to be resizable by the user clicking on an edge and dragging. 2) In the systemstart panel plugin, reverse the location of the shutdown options on the leave page (put them at the bottom next to where the leave button is in the first place) 3) Setup the systemstart plugin to use the new ResizeMenu. It currently does not save the new size to be used for later sessions, but per-session resizing works fine. 4) Quick adjustment to the systemtray icon sizes 5) Quick fix to the detection of a desktop file removal.
Diffstat (limited to 'lumina-desktop/panel-plugins/clock')
-rw-r--r--lumina-desktop/panel-plugins/clock/LClock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/clock/LClock.cpp b/lumina-desktop/panel-plugins/clock/LClock.cpp
index b9f15c49..7af36e5a 100644
--- a/lumina-desktop/panel-plugins/clock/LClock.cpp
+++ b/lumina-desktop/panel-plugins/clock/LClock.cpp
@@ -125,7 +125,8 @@ void LClock::updateFormats(){
void LClock::updateMenu(){
QDateTime cdt = QDateTime::currentDateTime();
TZMenu->setTitle(QString(tr("Time Zone (%1)")).arg(cdt.timeZoneAbbreviation()) );
- calendar->showToday();
+ calendar->showToday(); //make sure the current month is visible
+ calendar->setSelectedDate(QDate::currentDate()); //select the actual date for today
}
void LClock::openMenu(){
bgstack15