Commit Graph

12695 Commits

Author SHA1 Message Date
Marco Martin
3fd81dbeb5 add a shadow in the panel controller 2014-02-21 11:36:54 +01:00
Marco Martin
e27a2512af make :screen() not crash if is child of an applet 2014-02-21 11:13:14 +01:00
Sebastian Kügler
13ec787302 Improved contrast for highlighted and today's delegate 2014-02-21 01:22:24 +01:00
Sebastian Kügler
29cf8e22d2 Faster theme changes
Don't wait too long after the file changed, makes theme changes be
picked up half a second faster -- noticeable for the user.
2014-02-21 01:20:27 +01:00
Sebastian Kügler
d8ea983d45 Slightly faster lookup of cached theme elements 2014-02-21 01:19:58 +01:00
Marco Martin
68496ed363 unbreak wallpaper config model 2014-02-20 13:35:11 +01:00
Marco Martin
a7c6d3a79e Merge branch 'mart/plasmaquickNamespace' 2014-02-20 12:36:44 +01:00
Marco Martin
aaf7fa328d export plugin name
not super nice but the simplest way to avoid code duplication in the image plugin
2014-02-20 12:33:31 +01:00
Marco Martin
5fb89a5ea9 add warning notices that is not public api 2014-02-20 11:19:50 +01:00
Marco Martin
e9580fc257 don't install headers of plasmaquick
don't commit to binary stability just yet
2014-02-20 11:16:46 +01:00
Marco Martin
90c608f863 complete porting 2014-02-19 20:00:29 +01:00
Marco Martin
d3253428dc plasmaquickview.h -> view.h 2014-02-19 19:40:40 +01:00
Marco Martin
5bb4761c73 use a namespace in libplasmaquick
right now only the library builds
2014-02-19 19:37:30 +01:00
Marco Martin
c9ac5ebefb make private what should be private 2014-02-19 18:30:24 +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
Martin Klapetek
d3d7a6fd63 Return early if we failed to load valid Wallpaper package
Reviewed-by: Marco Martin
2014-02-19 13:28:15 +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
Alex Merry
596abe8c68 Use ecm_configure_package_config_file
Ported with:
sed -i -e 's/\(include(\)CMake\(PackageConfigHelpers)\)/\1ECM\2/' \
       -e 's/\<\(configure_package_config_file\)/ecm_\1/' \
       CMakeLists.txt

See http://commits.kde.org/extra-cmake-modules/139f60d81653888f696ef433
2014-02-18 21:18:16 +00:00
Marco Martin
99e350bb34 take into account panel size while positioning
make the dialog look always inside the panel, to not have borders looking brutally cutted away
2014-02-18 18:16:17 +01: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
l10n daemon script
592a0db2ab SVN_SILENT made messages (.desktop file) 2014-02-18 05:13:41 +00:00
Sebastian Kügler
bc7a54bb09 Compile-time connect in PlasmaComponents.Menu 2014-02-18 01:05:26 +01:00
Sebastian Kügler
21eb2d7ce5 Fix imports for testcomponents applet 2014-02-18 01:04:54 +01:00
Sebastian Kügler
61e4b3bbd3 Fix assignment type error 2014-02-18 00:20:20 +01:00
Marco Martin
08e3fcfe65 requestActivate() in this place caused 100% cpu
if more than one dialog is shown in a loop, causes requestActivate called to different windows too fast, this causes 100% cpu usage both in the application and in the windowmanager (not kwin specific)
2014-02-17 19:49:40 +01:00
Sebastian Kügler
7fcb1b7889 Merge branch 'sebas/themeswitch2'
Conflicts:
	src/shell/panelconfigview.cpp
2014-02-17 17:59:32 +01:00
Michael Palimaka
c9c4e6c3b2 Remove unused system dependencies.
- plasma_appletscript_declarative includes QtUiTools but doesn't use it
- QtPrintSupport is not used anywhere
- Xss, Xext, and SM are not used anywhere
- OpenSSL is not used anywhere

REVIEW: 115830
2014-02-18 03:12:12 +11:00
Marco Martin
11bdf0b5d3 repaint the svg icon when plasma theme changes 2014-02-17 15:45:20 +01:00
Marco Martin
317f19d658 event compression in icons generation
saves generation of useless qimages and speed improvement ruring manual resize: ludicrous
2014-02-17 15:39:01 +01:00
Marco Martin
1b21c1a5d9 call superclass in the proper place 2014-02-17 14:32:35 +01:00
Marco Martin
12a766795e return the correct immutability 2014-02-17 12:00:24 +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
d1b0e89a63 a way to read and write global shortcuts from qml config views 2014-02-14 17:28:10 +01:00
Marco Martin
7e8aa867b0 crash--
wait for the ui to be ready before connecting activated() to the expanding
2014-02-14 17:25:59 +01:00
Marco Martin
50a584d0bc rename Applet::activate() with Applet::activated()
activate() is a name that suggests a slot more than a signal
2014-02-14 14:40:53 +01:00
Marco Martin
60565dafcb get rid of elementAtPoint()
was a stub, never implemented because qtsvg doesn't support it (and never will)
2014-02-14 14:30:58 +01:00
Marco Martin
54549d8312 set the applet as expanded on activate signal 2014-02-14 14:26:53 +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
Marco Martin
59dbfeeab6 ask confirmation to delete containments 2014-02-13 15:30:07 +01:00
Sebastian Kügler
566e2a8a42 Fix QPixmapItem::PreserveAspectCrop
This case was broken and would scale the image, while what we want is a
centered piece, from Qt::KeepAspectRatioByExpanding.
2014-02-13 14:56:10 +01:00
Sebastian Kügler
a8e31e1593 plasmapkg2: Fix installation and listing of wallpapers 2014-02-13 14:56:10 +01:00