Commit 2bd71b5a authored by Michail Vourlakos's avatar Michail Vourlakos

set default action when trash applet activated

--provide a default action to be executed when
the trash applet is activated

Test Plan:
--trigger the activated signal for the applet and see
if the trash:/ folder opens
--check that all the rest behavior of the applet isnt

Reviewers: #plasma, broulik

Reviewed By: #plasma, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 194483b0
......@@ -59,6 +59,7 @@ DragDrop.DropArea {
Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
Plasmoid.backgroundHints: PlasmaCore.Types.NoBackground
Plasmoid.icon: (dirModel.count > 0) ? "user-trash-full": "user-trash"
Plasmoid.onActivated: action_open()
preventStealing: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment