[Differential] [Commented On] D2314: Context Menu to Mute, Set Default Sink/Source, Active Port

davidedmundson (David Edmundson) noreply at phabricator.kde.org
Mon Oct 24 17:11:46 UTC 2016


davidedmundson added a comment.


  Do we need to do it programatically? It's should be do-able in a declarative way with Instantiator
  
  ContextMenu
  {
  
    MenuItem {
           text: i18n("Mute");
           ...
    }
    
    MenuItem {
           text: i18n("Default");
           visible: .....
    }
    
    Instantiator
    {
         model:  PulseObject.ports
         delegate: MenuItem {}
    }
  
  }

REPOSITORY
  rPLASMAPA Plasma Audio Volume Applet

REVISION DETAIL
  https://phabricator.kde.org/D2314

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: Zren, #plasma, #plasma:_design
Cc: davidedmundson, drosca, colomar, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161024/1d68363f/attachment-0001.html>


More information about the Plasma-devel mailing list