David Edmundson
a36c2787b9
Merge branch 'davidedmundson/containmentcleanup2'
2013-12-17 16:44:54 +01:00
David Edmundson
6fface8cd0
Move panels and containments to the relevant screen on screen add/remove
2013-12-17 16:43:52 +01:00
David Edmundson
68d36e4e8c
Don't pernamently block signals if creating applet fails
2013-12-17 16:43:01 +01:00
David Edmundson
37840b1490
Add default screenForContainment implementation
2013-12-17 15:46:57 +01:00
Àlex Fiestas
bdbab34e21
[plasma-shell] Set plasma-shell as a Unique kind of app.
...
Mostly makes KLauncher not to execute a new instance if one
is already running
2013-12-17 13:00:33 +01:00
Àlex Fiestas
a9adcd8c6f
[plasma-shell] Register org.kde.plasma_shell in the bus
...
This is needed to let KLauncher know that Plasma Shell has been
executed.
We are using plasma_shell because there is a bug in KDBusService
that prevents us from using plasma-shell. Fix is already done
but repositoiries at this very moment are frozen.
2013-12-17 13:00:33 +01:00
Sebastian Kügler
5c96de0c57
Minor cleanups in dialog.cpp
2013-12-17 05:11:50 +01:00
Sebastian Kügler
5ff0605529
Compile-time connection for dialog sizing
2013-12-17 03:54:37 +01:00
Sebastian Kügler
e352eb9157
Remove activeWindow property
...
This shadows and QWindow.active, so use that.
2013-12-17 03:37:32 +01:00
Sebastian Kügler
462cfdcdc7
Port from activateWindow to requestActivate
2013-12-17 03:05:16 +01:00
Sebastian Kügler
2edebc57c3
Remove windowFlags property
...
This is a needless duplication of the property, and it causes bugs.
Removing it, and porting all users to the flags property from QWindow
magically makes layering and resizability bugs vanish.
One problem is left: the dialog dismisses too easily, it should not
dismiss when being resized, moved or when a child dialog or QMenu opens
from it.
2013-12-17 02:39:26 +01:00
Sebastian Kügler
4c17887657
Remove hack, it does more harm than good. :/
...
CCMAIL:mgraesslin@kde.org
2013-12-17 02:39:10 +01:00
Sebastian Kügler
04fd5d719a
Use visible property from QQuickWindow
...
Don't override it anymore, but react to the changed signal to do our
magic.
2013-12-17 01:21:59 +01:00
Sebastian Kügler
714042904f
Abuse flags
...
Interestingly, this hack yields the correct behaviour in my system. We
quickly set the always on top hint once we're supposed to hide, so the
window stays on top for the duration of the animation -- without
apparent side effects on the positioning and resizability.
CCMAIL:mgraesslin@kde.org
2013-12-17 01:10:58 +01:00
David Edmundson
36e4a45377
Set the panel config to the same screen as the panel
2013-12-16 19:17:32 +01:00
David Edmundson
4336262d31
Connect to the right geometrychanged signal
2013-12-16 16:52:46 +01:00
David Edmundson
5baf0c8554
Use convenience method insertContainment in ShellCorona
2013-12-16 16:51:02 +01:00
David Edmundson
547f356edd
Return valid screenForContainment on panels
2013-12-16 15:30:13 +01:00
David Edmundson
e5ef979ba1
Simplify assigning panels to screens
2013-12-16 15:30:13 +01:00
David Edmundson
be021453a2
Make it possible to modify PanelView screen property
2013-12-16 15:30:13 +01:00
David Edmundson
906caec817
Expose screen to MouseEventListener events
2013-12-16 15:30:13 +01:00
David Edmundson
a26913ccac
Move screen management logic in ShellCorona
...
Previously shells, activities, shellcorona and corona all tried to
manage
which screen a containment was on.
This version moves all screen management into ShellCorona so we have a
central place for keeping tracking of containments, activities and
screens.
2013-12-16 15:30:13 +01:00
David Edmundson
56b2e75b2b
Removed unused variable
2013-12-16 15:30:13 +01:00
David Edmundson
fb4d79e566
Remove unused signalWhenExists argument
...
It's unused and it's a hack.
2013-12-16 15:30:13 +01:00
David Edmundson
98e8731910
Remove unused "force" argument
...
force is always false. We don't need an argument
2013-12-16 15:30:12 +01:00
David Edmundson
1b9225491d
Remove unused commented code
2013-12-16 15:30:12 +01:00
David Edmundson
51890d1337
Check if shell needs updating when a handler is deregistered
2013-12-16 15:30:03 +01:00
David Edmundson
c95642caec
Add documentation on ShellManager
2013-12-16 15:30:02 +01:00
Aleix Pol
d9a4c3e0eb
Adapt scripts to changes in kdelibs
2013-12-14 16:38:48 +01:00
Aleix Pol
361a1eebbe
More macros to port
2013-12-14 14:32:03 +01:00
Aleix Pol
b0f9e8c773
fix scripts
...
ki18n_wrap_ui now exists
make kde4_add_plugin detection more flexible
2013-12-14 13:43:04 +01:00
l10n daemon script
acd85836bd
SVN_SILENT made messages (.desktop file)
2013-12-13 04:39:08 +00:00
Sebastian Kügler
6b4ca35897
hideOnWindowDeactivate property for plasmoid object
...
This allows to control whether to automatically close panel popups when
they lose focus. Applets can set this to false in case they want to keep
the popup open (even temporarily).
2013-12-12 00:22:47 +01:00
Aurélien Gâteau
78276bd589
Treat *Config.cmake files as well
2013-12-11 23:12:48 +01:00
Aurélien Gâteau
7c74c27a25
Add missing alias
2013-12-11 21:40:54 +01:00
Aurélien Gâteau
02d6b37976
Renames for the KF5 prefix
2013-12-11 21:40:54 +01:00
Aurélien Gâteau
175204c453
KF5 prefix fixes
2013-12-11 21:40:54 +01:00
Antonis Tsiapaliokas
4efb85e5d2
Replace tab with spaces
2013-12-11 21:40:54 +01:00
Martin Klapetek
3214bd8132
Add KF5 prefix to plasma framework
...
This changes the lib name and package names to follow other frameworks
libFoo -> libKF5Foo
find_package(KFoo) -> find_package(KF5Foo)
REVIEW: 114389
2013-12-11 21:40:54 +01:00
Martin Klapetek
98df4984d0
Add PlasmaQuick to kf5-prefix porting script
2013-12-11 17:40:41 +01:00
Aurélien Gâteau
09b49b48e9
Fix KDESu, add KDocTools
2013-12-11 17:08:31 +01:00
Aurélien Gâteau
410292bf3e
Add Style and KDE4Support
2013-12-11 16:33:06 +01:00
Aurélien Gâteau
bb207fa68f
kf5-lib-prefix-rename: replace more frameworks
2013-12-11 16:33:06 +01:00
Aurélien Gâteau
71326a33df
kf5-lib-prefix-rename: macros, and use whole words
2013-12-11 16:33:06 +01:00
Aurélien Gâteau
acfcc7d3d1
Add test files for kf5-lib-prefix-rename
2013-12-11 16:33:06 +01:00
Aurélien Gâteau
dae4e77d41
Rewrite in Python
...
I can't seem to get proper multiline search and replace with either sed or perl
-i. But I know how to do it in Python.
2013-12-11 16:33:06 +01:00
David Edmundson
ef58fdbf6f
Remove Applet::Private::isContainment
...
Instead determine by introspecting if this inherits from Containment
REVIEW: 114405
2013-12-11 15:50:48 +01:00
David Edmundson
1f83fdcc3c
Reduce warnings starting the pixmap save timer from other threads
...
REVIEW: 114382
2013-12-11 14:05:40 +01:00
Martin Gräßlin
86d030efac
Add a hideOnWindowDeactivate property to PlasmaCore.Dialog
...
This property is meant to bring back the functionality provided by
PopupApplet. If the property is set to true the dialog gets hidden
when it loses focus.
REVIEW: 114378
2013-12-11 11:15:07 +01:00
l10n daemon script
358b834455
SVN_SILENT made messages (.desktop file)
2013-12-11 04:00:00 +00:00