Summary: active is unused, don't declare it
Test Plan: no compiler warning raised about the unused var anymore
Reviewers: apol
Reviewed By: apol
Subscribers: anthonyfieroni, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D7065
We add our own "Close" item manually. The default quit entry would quit the application
but one Plasma Windowed instance can hold multiple applets each with their own SNI.
Also, add a separator (QMenu is smart enough not to show separators at the beginning of
the list, ie. if there's no applet actions)
Differential Revision: https://phabricator.kde.org/D5333
Summary:
* support one sni per applet
* fix commandline parsing when the process is already running
(--statusnotifier paramenter was breaking parsing)
* sync applet and sni status
* toggle shown/hidden based on current window status
* close action closes the plasmoid, not the whole app
* applet contextual action in context menu
Test Plan:
tested with different applets, more than once,
context menus correctly synced, status correctly synced
can quit plasmoids one by one
Reviewers: apol, davidedmundson
Reviewed By: davidedmundson
Subscribers: apol, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D5242
Summary:
plasmawindowed didn't set any minimum size to its window,
so it could be resized unusably small.
it tried to find its attached Layout, but the attached property
object wasn't created.
now set the minimum size by the following heiristics:
* if there is a switchsize, set it to switch to full representation
* then take the full representation minimum size if available and bigger then switch size
* otherwise, set it as SizeEnormous icon size
* in any case, don't let the window be less than that
BUG:376277
Test Plan:
tried both an applet that exports a layout and ful lrepresentation (kickoff)
and an applet that wants to stay collapsed (analog clock) kickoff
stays expanded at a reasonable minimum size, the clock can be scaled down
to 128x128
Reviewers: #plasma, broulik
Reviewed By: #plasma, broulik
Subscribers: broulik, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D5235
Summary:
It's been exported for ages
And these versions can lag behind causing all sorts of problems
Test Plan: Compiles
Reviewers: #plasma, markg
Reviewed By: markg
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D4029
Now this introduces a --statusnotifier argument that sets up a status
notifier item and when the window is closed it doesn't kill the process.
REVIEW: 121016
there is only one empty containment in appletsrc
applets are saved in plasmawindowedrc, so they won't be restored at
application start, but only on demand
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
techbase wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:
http://community.kde.org/Frameworks/GitOldHistory
If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.
Branched from the monolithic repo kde-workspace, frameworks branch, at commit
049113e719dd2fc4446d054fa1a3aada330094f0