Marco Martin
8c65f60de5
get rid of actions()
...
redundant function
2014-02-21 18:57:55 +01:00
Marco Martin
3fd81dbeb5
add a shadow in the panel controller
2014-02-21 11:36:54 +01:00
Marco Martin
90c608f863
complete porting
2014-02-19 20:00:29 +01:00
Marco Martin
2be97bdcdc
realign the panel when size changes
...
inthe case the panel is centered or at right, it has to be moved as well
2014-02-19 16:20:48 +01:00
Martin Klapetek
bd0ccdebf7
Check the OSD path before trying to load it, Plasma crashes if empty
...
Review-by: David Edmundson
2014-02-19 14:39:21 +01:00
Hrvoje Senjan
dde1da619e
Use QStandardPaths for finding plasma shells instead of hardcoding to install prefix
...
Otherwise plasma shells are never found if plasma-framework and
kde-workspace are installed to different prefixes
REVIEW: 115871
BUG: 331063
2014-02-19 12:15:25 +01:00
Alex Merry
e83e3cf300
Fix build
...
If code uses KDBusService, it must link against KDBusAddons.
2014-02-19 11:05:28 +00:00
Marco Martin
ef2e4f46d4
correctly restore panelVisibilityMode
2014-02-18 17:41:48 +01:00
Marco Martin
208e485577
correct behaviors for panel modes
...
(just missing edge activation)
2014-02-18 17:26:32 +01:00
Marco Martin
456d919326
notify signal of visibilityMode property
2014-02-18 16:59:11 +01:00
Marco Martin
fa8ed3668b
event compress restore after location change
...
now the panel position is correct after location change, and flickers less
2014-02-18 16:54:05 +01:00
Marco Martin
553055e6d3
adjust maximumWidth when adjusting offset, if needed
2014-02-18 13:42:14 +01:00
Marco Martin
ef0832787a
restore the proper offset
2014-02-18 12:32:53 +01:00
Sebastian Kügler
7fcb1b7889
Merge branch 'sebas/themeswitch2'
...
Conflicts:
src/shell/panelconfigview.cpp
2014-02-17 17:59:32 +01:00
Marco Martin
e03570227c
more robust location switch
...
an horizontal panel will have a fixed height
a vertical panel will have a fixed height
this way window managers don't fiddle with it
2014-02-14 19:06:06 +01:00
Marco Martin
ad54cc0187
global shortcuts and different flags for the dashboard
...
it should be actually usable
2014-02-14 13:56:13 +01:00
Marco Martin
44ab365d2c
simplify a bit location change
...
don't call restore() on positionPanel()
a bit more reliable
still fails randomly by h11 not doing what is asked to
2014-02-13 18:42:55 +01:00
Marco Martin
4aa3360495
resize the panel in one single go
2014-02-13 15:48:20 +01:00
Bhushan Shah
334e818af0
Do not show OSD for invalid values of percentage like -1 or 200
...
REVIEW: 115712
2014-02-13 18:16:49 +05:30
Marco Martin
664fd4167c
maximizing the panel actually works
2014-02-12 17:36:46 +01:00
Marco Martin
6bccf2d1af
api to access to containment actions
2014-02-12 17:13:56 +01:00
Martin Gräßlin
bada0c97ba
Ensure that we can build without X11 or XCB
...
* X11 is optional dependency
* XCB is optional dependency
* Qt::X11Extras is only found if both X11 and XCB are found
* switch to HAVE_X11 instead of X11_FOUND in CMakeLists
* remove/fix custom added definitions
* use #if HAVE_X11 instead of #ifdef HAVE_X11 (that is always true)
REVIEW: 115698
2014-02-12 16:20:42 +01:00
Martin Gräßlin
31e301174a
Ensure to not call X11 specific calls if we are not on platform X11
...
This fixes a bunch of possible crashy code when trying to run
applications linking plasma-framework on platform Wayland.
REVIEW: 115641
2014-02-12 16:20:04 +01:00
Marco Martin
68552f81dd
take into account margins when propagating size hints
2014-02-12 15:34:34 +01:00
Marco Martin
003cbf8317
hide remove action for desktop containments
2014-02-12 14:04:53 +01:00
Sebastian Kügler
dbbb1ed513
Minor cleanup
2014-02-11 17:29:59 +01:00
David Faure
e76d11be9d
Port to updated KActivities
2014-02-08 18:48:40 +01:00
Sebastian Kügler
eebfb64d0a
Merge branch 'master' into sebas/themeswitch2
2014-02-06 17:56:28 +01:00
Marco Martin
3858044d25
Merge branch 'mart/AppletAttached'
...
Conflicts:
src/declarativeimports/core/dialog.cpp
src/scriptengines/qml/plasmoid/containmentinterface.cpp
2014-02-06 13:16:11 +01:00
Sebastian Kügler
585aa4998a
noise--
2014-02-06 04:00:39 +01:00
Sebastian Kügler
15e4d93102
PanelConfigView respects contrast effect settings
2014-02-06 03:52:56 +01:00
Sebastian Kügler
62de49128e
Don't forget the Blur behind the panel
2014-02-06 03:52:11 +01:00
Sebastian Kügler
8e062ace17
panelview takes contrast effect config from Theme
2014-02-06 01:04:23 +01:00
David Edmundson
e0b6628541
Remove unused include
2014-02-05 17:22:24 +01:00
Marco Martin
74515ee2f5
use "_plasma_graphicObject" in applet*
...
to avoid possible collisions, use the private looking name "_plasma_graphicObject" for the dynamic property of Applet that represents the AppletInterface* pointer
2014-02-05 12:59:33 +01:00
David Edmundson
ea7802a787
Add interface to open widget explorer from panel config
2014-02-04 19:04:38 +01:00
Sebastian Kügler
833c2f55dd
plasma-shell reads theming from LookAndFeel package
...
ShellCorona reads the theme from the LookAndFeel package, (defaults,
group "Theme", key name), looks into plasmarc if the LNF theme should be
overridden, and if either exists, it sets the new theme on startup of
plasma-shell.
2014-02-01 23:51:05 +01:00
Sebastian Kügler
ffeb585003
Rough version in which theme switching works
...
This aligns the config files and groups, and adds a KDirWatch in the
shared Plasma::Theme private object in order to nofity when the
configured theme changes.
It's a bit rough, doesn't cover all corner cases and needs polishing.
2014-01-31 01:06:43 +01:00
l10n daemon script
6ecbbd9129
SVN_SILENT made messages (.desktop file)
2014-01-29 04:19:24 +00:00
Martin Klapetek
203f4a5049
[OSD] Display "%1 Muted" for media players with volume down to 0
2014-01-28 17:07:50 +01:00
Martin Klapetek
a4c4fc05af
Add OSD API for media player's volume changes
...
Reviewed-by: Marco Martin
2014-01-28 15:08:09 +01:00
Martin Klapetek
605ab0f130
Add OSD notifications to plasma-shell
...
As we decided to make the OSD available only for certain things, the API
is intentionally limited to very particular set of things. The list is
not complete yet I believe, but it's definitely a finite and a small set
Also as it's not a public service, I left it under org.kde.plasma_shell
on D-Bus.
And we're still missing all the icons except volume, but Jens is on it.
REVIEW: 115301
2014-01-28 15:08:09 +01:00
Martin Klapetek
c0f53545eb
Provide look&feel package by ShellCorona
...
REVIEW: 115256
2014-01-23 16:23:28 +01:00
Martin Klapetek
fc30bc6b52
Add OSD to look&feel package definition
...
REVIEW: 115257
2014-01-23 15:40:31 +01:00
Marco Martin
e0676f7501
use the new backgroundcontrast effect
2014-01-23 15:17:41 +01:00
Marco Martin
9e25b45c04
panels in multiscreen is broken, add a todo
...
panel views should be created/deleted according to screen attach/detach
2014-01-17 19:04:03 +01:00
Marco Martin
da6df37de5
fix some crashes
...
- check some guards as qobject_cast may fail.
- destroyed() is emitted too late, the slot managing it can only access a QObject, Containment members aren't valid anymore
2014-01-17 18:59:54 +01:00
Sebastian Kügler
f517765bd0
Fixed types for plugin recognition in shell
2014-01-16 20:14:19 +01:00
l10n daemon script
8e38e619d4
SVN_SILENT made messages (.desktop file)
2014-01-16 04:05:24 +00:00
Marco Martin
92fe107329
put namespace around KDeclarative
2014-01-13 21:21:14 +01:00