Commits

Martin Rieser committed d7be3ea

icons to context menu added

Comments (0)

Files changed (1)

     ## actions ##
     def onContextMenuTriggered(self,position):
         menu = QMenu()
-        doneAction = menu.addAction("Done")
-        #commitAction = menu.addAction("Commit")
-        emailAction  = menu.addAction("Email")
-        removeAction = menu.addAction("Remove")        
+        doneAction = menu.addAction(qtlib.geticon("settings_user"),"Done")
+        #commitAction = menu.addAction(qtlib.geticon("menucommit"),"Commit")
+        emailAction  = menu.addAction(qtlib.geticon("menulog"),"Email")
+        removeAction = menu.addAction(qtlib.geticon("filedelete"),"Remove")        
         action = menu.exec_(self._qui.list_of_files.mapToGlobal(position+ QPoint(+30, +15)))
         if action == doneAction:
             self.onDoneButtonClicked()