From 8fc2085b84c763660f95e8b2889f0c399c3388b1 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 12 Sep 2014 12:22:47 -0400 Subject: Update lumina-desktop to use the new LuminaOS shortcuts/prefix settings. --- lumina-desktop/panel-plugins/userbutton/UserWidget.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lumina-desktop/panel-plugins/userbutton/UserWidget.h') diff --git a/lumina-desktop/panel-plugins/userbutton/UserWidget.h b/lumina-desktop/panel-plugins/userbutton/UserWidget.h index 5bc737a1..b9eaffbe 100644 --- a/lumina-desktop/panel-plugins/userbutton/UserWidget.h +++ b/lumina-desktop/panel-plugins/userbutton/UserWidget.h @@ -17,12 +17,12 @@ #include #include - +#include #include "UserItemWidget.h" -#define APPSTORE QString("/usr/local/share/applications/softmanager.desktop") -#define CONTROLPANEL QString("/usr/local/share/applications/pccontrol.desktop") -#define QTCONFIG QString("/usr/local/bin/qtconfig-qt4") +//#define APPSTORE QString("/usr/local/share/applications/softmanager.desktop") +//#define CONTROLPANEL QString("/usr/local/share/applications/pccontrol.desktop") +//#define QTCONFIG QString("/usr/local/bin/qtconfig-qt4") #define SSAVER QString("xscreensaver-demo") namespace Ui{ @@ -59,16 +59,16 @@ private slots: //Slots for the special buttons void openStore(){ - LaunchItem("lumina-open \""+APPSTORE+"\""); + LaunchItem("lumina-open \""+LOS::AppStoreShortcut()+"\""); } void openControlPanel(){ - LaunchItem("lumina-open \""+CONTROLPANEL+"\""); + LaunchItem("lumina-open \""+LOS::ControlPanelShortcut()+"\""); } void openDeskSettings(){ LaunchItem("lumina-config"); } void openQtConfig(){ - LaunchItem(QTCONFIG); + LaunchItem( LOS::QtConfigShortcut() ); } void openScreenSaverConfig(){ LaunchItem(SSAVER); -- cgit