From kde-panel-devel Mon Feb 29 12:10:32 2016 From: David Edmundson Date: Mon, 29 Feb 2016 12:10:32 +0000 To: kde-panel-devel Subject: Re: Review Request 127217: Move contextualActionsAboutToShow to Applet Message-Id: <20160229121032.32153.41510 () mimi ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=145674784815527 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0191142827992691691==" --===============0191142827992691691== Content-Type: multipart/alternative; boundary="===============2680954533154715100==" --===============2680954533154715100== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127217/ ----------------------------------------------------------- (Updated Feb. 29, 2016, 12:10 p.m.) Status ------ This change has been marked as submitted. Review request for KDE Frameworks and Plasma. Changes ------- Submitted with commit 88ec6de11392710df72f2bab6139dc385596743a by David Edmundson to branch master. Repository: plasma-framework Description ------- Applet contains the menu actions, therefore notifying the menu needs updating should happen in Applet not AppletInterface. With AppletInterface being a dumb wrapper. This exposes functionality to anyone who overrides Applet, but also will also allows system tray to emit this signal without having to use private API. This is a better version of my patch at https://git.reviewboard.kde.org/r/126811/ to fix 358119 that I wasn't happy with. Diffs ----- src/plasma/applet.h df57e945b7dcd3b907c68ae82e5a26f2caeb5c9f src/scriptengines/qml/plasmoid/appletinterface.cpp 550438d05640cc02a1a2bda546601e6740a9b4e9 src/scriptengines/qml/plasmoid/containmentinterface.cpp 44ed56ed85adec4af054a25c1cc5b46605152320 Diff: https://git.reviewboard.kde.org/r/127217/diff/ Testing ------- Thanks, David Edmundson --===============2680954533154715100== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/127217/

This change has been marked as submitted.


Review request for KDE Frameworks and Plasma.
By David Edmundson.

Updated Feb. 29, 2016, 12:10 p.m.

Changes

Submitted with commit 88ec6de11392710df72f2bab6139dc385596743a by David Edmundson to branch master.
Repository: plasma-framework

Description

Applet contains the menu actions, therefore notifying the menu needs updating should happen in Applet not AppletInterface. With AppletInterface being a dumb wrapper.

This exposes functionality to anyone who overrides Applet, but also will also allows system tray to emit this signal without having to use private API.

This is a better version of my patch at https://git.reviewboard.kde.org/r/126811/ to fix 358119 that I wasn't happy with.

Diffs

  • src/plasma/applet.h (df57e945b7dcd3b907c68ae82e5a26f2caeb5c9f)
  • src/scriptengines/qml/plasmoid/appletinterface.cpp (550438d05640cc02a1a2bda546601e6740a9b4e9)
  • src/scriptengines/qml/plasmoid/containmentinterface.cpp (44ed56ed85adec4af054a25c1cc5b46605152320)

View Diff

--===============2680954533154715100==-- --===============0191142827992691691== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUGxhc21hLWRl dmVsIG1haWxpbmcgbGlzdApQbGFzbWEtZGV2ZWxAa2RlLm9yZwpodHRwczovL21haWwua2RlLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL3BsYXNtYS1kZXZlbAo= --===============0191142827992691691==--