Commit Graph

11412 Commits

Author SHA1 Message Date
Marco Martin
902f98ed6e make sure the plugin config gets restored 2013-08-14 15:13:35 +02:00
Marco Martin
834f73a101 fix loading of containmentactions plugins 2013-08-14 14:09:01 +02:00
Aaron Seigo
55d6c78c9a forward port of patch from master to fix crash due to non-existing theme 2013-08-14 14:07:19 +02:00
Marco Martin
6be0228694 export containmentactions plugins in the new way 2013-08-14 11:45:12 +02:00
Marco Martin
6440cc0bee less border margin 2013-08-14 10:42:56 +02:00
Sebastian Kügler
0d909073c5 noise-- 2013-08-14 05:48:03 +02:00
Sebastian Kügler
b14d63b367 Don't crash when an applet can't be loaded from disk 2013-08-14 05:47:38 +02:00
Sebastian Kügler
2256c5ad1c Fix text elide in button and toolbutton
Also use a Plasma.Label, instead of doing it on our own
2013-08-14 05:46:55 +02:00
Sebastian Kügler
c76b5137e2 Fix empty group operations
There appears to be a subtle change in KConfig*, which means that if a
config group is empty, it won't be listed in groupsMap. Since operations
files can have empty groups, which are simply calls without arguments,
these would not be listed, and thus not be callable at all.

Fix: Add a dummy item per group, not beautiful, but effectively makes it
work.
2013-08-14 03:29:46 +02:00
Sebastian Kügler
7fb579610a Return QObject* instead of Service*
Service* is not understood as return type, QObject is.
2013-08-14 03:26:43 +02:00
Marco Martin
7515f665c7 make possible for wallpaper plugins to align with
the plugin combobox
2013-08-13 20:30:36 +02:00
Marco Martin
4c2a1046c2 use just a combobox 2013-08-13 14:44:07 +02:00
Marco Martin
2a293e0680 fix left sidebar 2013-08-13 14:08:08 +02:00
Marco Martin
32d04b1809 fix wallpaper selection 2013-08-13 11:57:31 +02:00
Marco Martin
d12cf22305 default to "desktoptoolbox" 2013-08-13 11:10:56 +02:00
Martin Gräßlin
f50a5412ba Drop windowId property from PlasmaCore.Dialog
Property windowId was according to the comments only provided because
KWin needed it. KWin's usecase was to know the window Id of the window
where a given item is rendered to. In QtQuick a QQuickItem provides a
pointer to the QQuickWindow holding the item. This means this hack is no
longer needed.

REVIEW: 112033
2013-08-13 06:47:10 +02:00
Sebastian Kügler
0b5d791e2b Add lockWidgets to containment interface 2013-08-13 04:19:13 +02:00
Sebastian Kügler
0859a1fe58 header cleanup 2013-08-13 01:34:42 +02:00
Sebastian Kügler
549da55457 Improve docs with examples and optional args 2013-08-13 01:25:58 +02:00
Sebastian Kügler
19d26505d6 Docs for PlasmaMacros 2013-08-13 01:15:36 +02:00
Sebastian Kügler
8fd2313b88 Macro name change: installPackage becomes plasma_install_package
This naming is in line with the naming policy for frameworks.
2013-08-13 01:01:39 +02:00
Sebastian Kügler
f5d8853624 Reduce KStandardDirs usage 2013-08-13 00:43:51 +02:00
Sebastian Kügler
61fc0fece0 replace testcontainment with real desktopcontainment
Delete the testcontainment package, which is only one file + metadata
anyway.

This means that in order to run the default plasma-shell, an
installation of kde-workspace[frameworks-scratch] is needed.
2013-08-12 22:59:21 +02:00
Marco Martin
7d607b49a8 show panel also if is the last containment to be added in startup 2013-08-12 20:08:36 +02:00
Marco Martin
bd82f72a40 fix layout 2013-08-12 18:41:21 +02:00
Kevin Ottens
72485975cb It is the sole user of isMultiHead so move the code there 2013-08-12 18:12:11 +02:00
Marco Martin
0978d2f73a Merge branch 'mart/prettyStartupSequence'
Conflicts:
	src/scriptengines/qml/plasmoid/containmentinterface.cpp
2013-08-12 14:42:58 +02:00
Marco Martin
78978cd7e3 get rid of appletcreationtimer 2013-08-12 14:38:10 +02:00
Marco Martin
ebe6bbe1ab init the panels only when desktops are ready 2013-08-12 14:35:02 +02:00
Marco Martin
daf4f9daa9 debug-- 2013-08-12 13:39:49 +02:00
Marco Martin
04650605e5 don't emit uireadychanged if not changed 2013-08-12 13:38:31 +02:00
Sebastian Kügler
6fb75ac5f8 use plasma_add_plugin macro 2013-08-10 01:22:48 +02:00
David Faure
83cc2a25f4 Some KStandardDirs->QStandardPaths porting 2013-08-09 22:11:42 +02:00
Marco Martin
8750d01f40 move the tracking of uiReady into libplasma
doesn't still have nothing about ui, is completely bookkeeping, but is
easier to have it correct there
2013-08-09 21:51:13 +02:00
Marco Martin
8ff1ace31c containment connection happens before 2013-08-09 20:17:11 +02:00
Sebastian Kügler
59ea65e859 Include QUrl instead of qurlpathinfo.h
Fixes build. Thanks to Teo for detective work! :)

CCMAIL:teo@kde.org
2013-08-09 17:06:41 +02:00
Marco Martin
ebdfbb2e25 containments emit uiready only when all applets did 2013-08-09 14:58:36 +02:00
Marco Martin
0d9bc6d7be fix delayed loading of containments 2013-08-09 11:56:58 +02:00
Sebastian Kügler
fd3f1eaa35 Reduce KDE4 usage in cmake setup 2013-08-09 05:22:20 +02:00
Sebastian Kügler
db9b0016d1 remove last remains of kdebug 2013-08-09 04:14:26 +02:00
Sebastian Kügler
801d4ae818 Refined porting scripts 2013-08-09 04:07:59 +02:00
Sebastian Kügler
9c345e5be5 plasma_add_plugin macro to simplify plugin installation 2013-08-09 02:40:49 +02:00
Marco Martin
336055edc5 experiment in delaying the panel creation 2013-08-08 22:18:45 +02:00
Marco Martin
f979e1bbcb remove view::init 2013-08-08 20:23:53 +02:00
Marco Martin
5d4f1b381f load the wallpaper before setting the screen
we want the wallpaper showing before the plasmoids.
we still need to load the wallpaper only after a screen has been
assigned, but will be done after
2013-08-08 17:59:30 +02:00
Marco Martin
ce13335f36 make really sure the wallpaper is loaded only once
and that an empty wallpaper is not loaded at all
2013-08-08 17:21:11 +02:00
Marco Martin
9b52bfad89 the scriptengine has an uiReady property
will be used for some experiments later: we can track if the ui
machinery has been correctly initialized.
we'll use that to ensure the applets gets initialized and prepared only
after their containment has been
2013-08-08 16:12:31 +02:00
Marco Martin
279c622b27 remove include() 2013-08-08 15:52:13 +02:00
Marco Martin
8c93e1f6cd remove loadui/loadservice 2013-08-08 15:51:29 +02:00
Marco Martin
f69f40c909 remove configChanged() 2013-08-08 15:38:40 +02:00