On Saturday 07 September 2013, Heena Mahour wrote: > Hi , > I want to ask that why am I unable to view a menu like this > http://picpaste.com/plasma4calendar-6xZmBFis.png on right clicking plasma2 > plasmoids as in case with plasma1 plasmoids ? > Also I want to have an action in this menu ,so I did > function action_open() { > //do task > } > Component.onCompleted: { > plasmoid.action_open = function() { > //do task > } > plasmoid.setAction("open", "Open","document-open"); > } > But somehow neither it is showing a menu as in the screenshot on > rightclicking nor the actions . > Kindly suggest something .I am getting error as "plasmoid not defined " in > statements like plasmoid.action_open,plasmoid.runCommand etc
what do you mean? actions in context menu? the trashcan already adds actions there and they do work -- Marco Martin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel