aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/userbutton/UserWidget.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2014-09-12 12:22:47 -0400
committerKen Moore <ken@pcbsd.org>2014-09-12 12:22:47 -0400
commit8fc2085b84c763660f95e8b2889f0c399c3388b1 (patch)
treea5090e20a49c01ee08c5b8cdc51b84dacf749868 /lumina-desktop/panel-plugins/userbutton/UserWidget.h
parentAlso fix the PREFIX settings for the new dragonfly OS file. (diff)
downloadlumina-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.h14
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);
bgstack15