Commit Graph

12717 Commits

Author SHA1 Message Date
Marco Martin
7a6008d58a proper push of the breeze theme 2014-03-25 11:56:12 +01:00
Marco Martin
7c96900c2e prepare a proper push 2014-03-25 11:55:32 +01:00
Marco Martin
695348992a New default theme: welcome Breeze!
I for one welcome out new design overlords!
2014-03-25 11:48:07 +01:00
Sebastian Kügler
0fb74f1ae7 kdebug porting script: enable the useful bits 2014-03-25 02:27:38 +01:00
Sebastian Kügler
637bf0ea19 Add --no-respawn (-n) option to plasma-shell
Disables automatic restarting of plasma-shell, useful for debugging
purposes.

BUG:332515
2014-03-25 02:25:09 +01:00
Marco Martin
900e0108e1 if no position was provided, negative pos
call the qml part with an invalid position if not supplied, will make new applets in the panels being put in the end instead of at the beginning
2014-03-24 18:15:50 +01:00
Marco Martin
6c6aeef6b5 api (still not ui) to add panel spacer 2014-03-24 18:05:00 +01:00
David Edmundson
b5dc457570 Compact two identical conditions 2014-03-24 17:07:30 +01:00
David Edmundson
399e61901f don't crash when expanding applets whilst loading
BUG: 332429
2014-03-24 17:05:40 +01:00
Eike Hein
6a6bf8e80c Add back a public slot to procedurally hide a ToolTipArea's tooltip. 2014-03-24 15:19:02 +01:00
l10n daemon script
99900255bf SVN_SILENT made messages (.desktop file) 2014-03-23 04:47:33 +00:00
Martin Gräßlin
9ecdcf5ae0 Don't crash in WindowThumbnail if XCB is not available
In case that XCB is not available we need to use the window icon.
2014-03-21 22:07:56 +01:00
Marco Martin
69cac03a64 the icon is now called org.kde.plasma.icon 2014-03-21 17:33:26 +01:00
Marco Martin
614af69f02 never show the dialog on destroy()
the remove action is now hooked to another slot, askDestroy()
it *MAY* solve the "Do you wish to remove this default desktop" bug, or may get it worse
CCBUG:332137
2014-03-20 19:22:27 +01:00
Marco Martin
0205aa1ec6 if not flat, use button color
BUG:332138
2014-03-20 17:55:22 +01:00
Marco Martin
ff7aebb1e2 guard for invalid root object
BUG:332361
2014-03-20 17:46:06 +01:00
Marco Martin
e64ab583c5 delete imports now provided by kdeclarative repo 2014-03-20 16:20:59 +01:00
Marco Martin
213584e987 export private signal 2014-03-19 18:31:26 +01:00
Marco Martin
b5a61d00a0 don't start if already running 2014-03-19 18:31:26 +01:00
Martin Klapetek
f1af24c40e Don't try to set the Dialog's state when being destroyed
Because it crashes.

Reviewed-by: Marco Martin
2014-03-19 16:10:19 +01:00
Marco Martin
546dd32304 Dialog is now
it statically links FrameSvgItem and Units.. they may become libplasmaquick eventually but for now is fine like that
2014-03-19 12:47:09 +01:00
Marco Martin
4e03ec61e0 use PlasmaQuick:: namespace 2014-03-19 11:59:15 +01:00
Marco Martin
ac98abf67c documentation++ 2014-03-19 11:55:00 +01:00
Marco Martin
97bfabd4d7 remove transientParent property 2014-03-19 11:45:10 +01:00
Marco Martin
49252b0b5d adjustGeometry is protected 2014-03-19 11:32:01 +01:00
Marco Martin
8b114a3f59 move size adjustment in private 2014-03-19 11:21:54 +01:00
Marco Martin
fe45629b99 updateInputShape is private 2014-03-19 11:06:56 +01:00
Marco Martin
68ae939d04 move the slots in private 2014-03-19 10:23:25 +01:00
Marco Martin
7e07bd7a3e move screenForItem in the dpointer 2014-03-18 21:40:36 +01:00
Marco Martin
f412d1a9d0 remove :frameSvgItem() 2014-03-18 21:38:02 +01:00
Marco Martin
beac07c97d call the class Dialog 2014-03-18 21:34:58 +01:00
Marco Martin
1809fe5429 move private stuff to dpointer
it will be made into a library, prepare for it
2014-03-18 21:21:34 +01:00
Marco Martin
ca27775c2b don'rthave commented out imports in examples 2014-03-18 13:47:17 +01:00
Marco Martin
dd2c4c7c28 relicense all lgpl 2014-03-18 12:13:38 +01:00
Aurélien Gâteau
43e2b0f670 Unbreak build of code using plasma-framework
plasma_export.h is now installed in include/plasma/, not in include/.
Code using plasma-framework does not have include/plasma in its include
directory list, so plasma-framework headers must refer to others using
</plasma/foo.h>, not "foo.h".

CCMAIL: aleixpol@kde.org
2014-03-18 12:01:36 +01:00
Marco Martin
cc6a87cee4 remove unneeded dependencies 2014-03-18 11:56:54 +01:00
Aleix Pol
2ef12f1ee8 More headers tweaking
Don't install the camel-case headers twice
Look for the plasma_export.h in the current directory instead of jumping
around in the project.
2014-03-17 16:48:49 +01:00
Aleix Pol
a3641aac25 Fix headers management in plasma-framework
Use generate headers instead of having them stored in the repository.
Figure out how relative paths are forwarded around, there were some weird
things.
Stop installing plasma header files in the KDE/ prefix.
2014-03-17 16:28:24 +01:00
Aleix Pol
875b56127c More cmake porting rules 2014-03-17 11:38:10 +01:00
Martin Gräßlin
d2452e2917 EGL/X11 backend for WindowThumbnail QQuickItem
Introduces a new optional dependency to EGL. If EGL is found the
WindowThumbnail gets compiled with EGL support. The EGL support is
unlike Qt's XCB plugin not mutual exclusive to the GLX backend, thus
it's possible to compile with EGL and GLX at the same time.
By that this implementation is prepared for the case that Qt supports
EGL or GLX through runtime selection.

In practice EGL support is only useful if Qt is compiled with GLESv2.
In that case the corebindingsplugin gets linked against Qt5::Gui_GLESv2
to get the dependency to GLES.

The implementation makes use of the EGL_KHR_image extension
(or EGL_KHR_image_base and EGL_KHR_Image_pixmap) and
the GL_OES_EGL_image extension to bind the X pixmap to an EGLImageKHR.

REVIEW: 116627
2014-03-17 09:09:23 +01:00
Marco Martin
710fe45527 move the shell packages in libplasmaquick 2014-03-15 17:25:42 +01:00
Marco Martin
07637b7f34 remove dead code 2014-03-14 18:03:15 +01:00
Martin Klapetek
b36ba7c9b6 Return intersection of KWS::workArea() and QScreen::availableGeometry()
KWindowSystem::workArea() gives us the whole workarea, which in case of dual screens is the whole virtual desktop. QApplication::desktop()->availableGeometry(id) gives the full screen geometry for the given screen. So we just intersect them and have a proper availableScreenRect().

This is just a temporary method until the patch in [1] is merged in Qt
and released, then we can revert back to the commented method.

[1] - https://codereview.qt-project.org/#change,80606

BUG: 331968
2014-03-11 19:14:15 +01:00
Marco Martin
cc8de5a789 remove unused variable 2014-03-11 17:07:15 +01:00
Marco Martin
d397358346 Make the delete containment dialog async
a syncronous dialog brings crashes if something gets deleted while the dialog's event loop is in execution
BUG:332027
2014-03-11 17:04:31 +01:00
Martin Klapetek
62d35541ed Add availableScreenRect(int id) to ContainmentInterface
Now plasmoids can simply get the available screen rect
2014-03-11 15:30:45 +01:00
Martin Klapetek
699057ad33 Emit geometry changes on screen added/removed events 2014-03-11 15:30:45 +01:00
Martin Klapetek
6a1fa18986 Add availableScreenRect(int id) to Corona base class
This is already implemented in ShellCorona and is quite handy too

Reviewed-by: Marco Martin
2014-03-11 15:30:45 +01:00
Marco Martin
5fe26c0da1 close at applet destruction
and bury behind a weakpointer
BUG:332015

in some cases seems a crash still happens, but is completely unrelated with the one in 332015, so should be a separate bug
2014-03-11 12:44:04 +01:00
Martin Klapetek
cc6cc00282 Remove useless casting to itself 2014-03-10 22:55:06 +01:00