From 9fd1372203ef8da796b370e063959c9bab344b1e Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 7 Oct 2015 17:07:13 -0400 Subject: 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. --- lumina-desktop/panel-plugins/clock/LClock.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lumina-desktop/panel-plugins/clock') 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(){ -- cgit