diff options
author | Ken Moore <ken@pcbsd.org> | 2014-09-12 12:22:47 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-09-12 12:22:47 -0400 |
commit | 8fc2085b84c763660f95e8b2889f0c399c3388b1 (patch) | |
tree | a5090e20a49c01ee08c5b8cdc51b84dacf749868 /lumina-desktop/panel-plugins/userbutton/UserWidget.h | |
parent | Also fix the PREFIX settings for the new dragonfly OS file. (diff) | |
download | lumina-8fc2085b84c763660f95e8b2889f0c399c3388b1.tar.gz lumina-8fc2085b84c763660f95e8b2889f0c399c3388b1.tar.bz2 lumina-8fc2085b84c763660f95e8b2889f0c399c3388b1.zip |
Update lumina-desktop to use the new LuminaOS shortcuts/prefix settings.
Diffstat (limited to 'lumina-desktop/panel-plugins/userbutton/UserWidget.h')
-rw-r--r-- | lumina-desktop/panel-plugins/userbutton/UserWidget.h | 14 |
1 files changed, 7 insertions, 7 deletions
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 <QScrollArea> #include <LuminaXDG.h> - +#include <LuminaOS.h> #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); |