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/systemstart/LStartButton.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lumina-desktop/panel-plugins/systemstart/LStartButton.h') diff --git a/lumina-desktop/panel-plugins/systemstart/LStartButton.h b/lumina-desktop/panel-plugins/systemstart/LStartButton.h index 33c48bbf..ac9ad59b 100644 --- a/lumina-desktop/panel-plugins/systemstart/LStartButton.h +++ b/lumina-desktop/panel-plugins/systemstart/LStartButton.h @@ -23,7 +23,8 @@ #include "../LPPlugin.h" //main plugin widget // libLumina includes -#include "LuminaXDG.h" +#include +#include #include "StartMenu.h" @@ -64,8 +65,8 @@ public: ~LStartButtonPlugin(); private: - QMenu *menu; - QWidgetAction *mact; + ResizeMenu *menu; + //QWidgetAction *mact; StartMenu *startmenu; QToolButton *button; QList QUICKL; -- cgit