diff options
author | Ken Moore <ken@pcbsd.org> | 2014-09-29 11:38:12 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2014-09-29 11:38:12 -0400 |
commit | f4d01cd9e972c96dc068eac2750ed9aa2d02cf3d (patch) | |
tree | fbb9e2f8ea5a0b57d1fad4a83f7580155b432893 /lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp | |
parent | Merge branch 'master' of github.com:pcbsd/lumina (diff) | |
download | lumina-f4d01cd9e972c96dc068eac2750ed9aa2d02cf3d.tar.gz lumina-f4d01cd9e972c96dc068eac2750ed9aa2d02cf3d.tar.bz2 lumina-f4d01cd9e972c96dc068eac2750ed9aa2d02cf3d.zip |
Update the user buttons some more:
1) Add the ability to browse through the directory tree for the user's home directory, with the ability to "favorite" any of them.
Diffstat (limited to 'lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp')
-rw-r--r-- | lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp b/lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp index eb6a7db0..a9cf3b25 100644 --- a/lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp +++ b/lumina-desktop/panel-plugins/userbutton/UserItemWidget.cpp @@ -113,7 +113,7 @@ void UserItemWidget::buttonClicked(){ } void UserItemWidget::ItemClicked(){ - if(!linkPath.isEmpty()){ emit RunItem("lumina-open \""+linkPath+"\"" ); } - else{ emit RunItem("lumina-open \""+icon->whatsThis()+"\"" ); } + if(!linkPath.isEmpty()){ emit RunItem(linkPath); } + else{ emit RunItem(icon->whatsThis()); } }
\ No newline at end of file |