[plasmoidviewer] Add --nobuttons flag to hide button bar
Needs ReviewPublic

Authored by Zren on Feb 22 2019, 7:46 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This also fixes the Background { id: backgroundButtons } not hiding by binding it's visibility to buttons.visible.

Is the "bugfix" worth splitting into it's own commit and backporting to 5.15, while the new feature goes into master/5.16?

Test Plan
  • Patch /usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/views/
  • Compile and run build/bin/plasmoidviewer -a org.plasma.digitalclock --nobuttons
  • Run build/bin/plasmoidviewer -a org.plasma.digitalclock and confirm the "hide" button still works.

Diff Detail

Repository
R118 Plasma SDK
Lint
Lint Skipped
Unit
Unit Tests Skipped
Zren created this revision.Feb 22 2019, 7:46 PM
Restricted Application added a project: Plasma. · View Herald TranscriptFeb 22 2019, 7:46 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
Zren requested review of this revision.Feb 22 2019, 7:46 PM