<table><tr><td style="">davidhurka retitled this revision from "This replaces the good working ToolAction by a (not so good working) ToggleActionMenu.
Unlike ToolAction, ToggleActionMenu inherits from KActionMenu, and is more universally applicaple.
* Menu can be set from outside, not hard coded.
* Default..." to "Replace ToolAction by a more universal “ToggleActionMenu”".<br />davidhurka edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-4ap26m7ozbxga4z/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21755">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">...</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">This replaces the good working ToolAction by a (not so good working) ToggleActionMenu.<br />
Unlike ToolAction, ToggleActionMenu inherits from KActionMenu, and is more universally applicaple.<br />
* Menu can be set from outside, not hard coded.<br />
* Default </span>action for toolbar button is controllable from outside. (Theoretically, the button could trigger //anything// now.)<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21755">https://phabricator.kde.org/D21755</a></div></div><br /><div><strong>To: </strong>davidhurka, Okular<br /><strong>Cc: </strong>okular-devel, joaonetto, tfella, ngraham, darcyshen, aacid<br /></div>