[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-workspace/plasma/sreich/tasks-qml] plasma/desktop/applets/tasks/package/contents/ui: close oper
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-03-24 20:37:00
Message-ID: 20120324203700.68347A60BB () git ! kde ! org
[Download RAW message or body]

Git commit 8aa7d0163205025af447f33207ae00f658f38a88 by Shaun Reich.
Committed on 24/03/2012 at 21:20.
Pushed by sreich into branch 'plasma/sreich/tasks-qml'.

close operation works

M  +10   -2    plasma/desktop/applets/tasks/package/contents/ui/main.qml

http://commits.kde.org/kde-workspace/8aa7d0163205025af447f33207ae00f658f38a88

diff --git a/plasma/desktop/applets/tasks/package/contents/ui/main.qml \
b/plasma/desktop/applets/tasks/package/contents/ui/main.qml index 0143472..79a8c82 \
                100644
--- a/plasma/desktop/applets/tasks/package/contents/ui/main.qml
+++ b/plasma/desktop/applets/tasks/package/contents/ui/main.qml
@@ -196,6 +196,10 @@ Item {
                         PlasmaComponents.MenuItem {
                             //text: model.DisplayRole
                             text: "Close"
+
+                            onClicked: {
+                                root.close(model.WId);
+                            }
                         }
 
                         PlasmaComponents.MenuItem {
@@ -217,18 +221,22 @@ Item {
 
                         PlasmaComponents.MenuItem {
                             text: "Minimize"
+                            onClicked: {
+                                root.minimize(model.WId);
+                            }
                         }
 
                         PlasmaComponents.MenuItem {
                             text: "Maximize"
+                            onClicked: {
+                                root.maximize(model.WId);
+                            }
                         }
                     }
                 }
             }
         }
     }
-
-    
 }
 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic