Commit Graph

12421 Commits

Author SHA1 Message Date
Marco Martin
c363b33b43 don't assume containment() exists 2014-02-05 16:39:06 +01:00
Marco Martin
2f17e371d5 comments++ 2014-02-05 16:31:47 +01:00
Marco Martin
0f16569daa move more stuff in private 2014-02-05 16:23:57 +01:00
Marco Martin
c86a956c28 move private methods and slots in private 2014-02-05 16:02:28 +01:00
Marco Martin
7e53c7276a move private members in AppletQuickItemPrivate 2014-02-05 14:54:22 +01:00
Marco Martin
c196f8b748 AppletLoader->AppletquickItem 2014-02-05 14:19:39 +01:00
Marco Martin
b8a41a88f3 get rid of compactrepresentationexpander property 2014-02-05 14:07:23 +01:00
Marco Martin
4a5c20f954 getters and setters for packages 2014-02-05 13:51:41 +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
Marco Martin
3325f24992 appletLoader doesn't depend from Declarativeappletscript 2014-02-05 12:51:31 +01:00
Marco Martin
e2ee69bf08 note about subclass property at left hand 2014-02-05 12:09:56 +01:00
Martin Gräßlin
91e9e401f0 Include config-plasma.h before checking for HAVE_X11
Fixes compile warning since kwindowsystem.h doesn't provide HAVE_X11
any more.

Reviewed-by: Marco Martin
2014-02-05 11:10:53 +01:00
David Edmundson
a951b7357b Remove leftover debug code 2014-02-04 19:16:07 +01:00
David Edmundson
ea7802a787 Add interface to open widget explorer from panel config 2014-02-04 19:04:38 +01:00
Marco Martin
308f59bc68 port to new api 2014-02-04 17:29:28 +01:00
Marco Martin
9275e84a99 add a Wallpaper attached property for wallpapers 2014-02-04 17:23:22 +01:00
Marco Martin
be4c13e627 call the import org.kde.plasma.plasmoid 2014-02-04 17:01:28 +01:00
Marco Martin
2a0384c3c7 keep locally applet and corona packages
less references to the corona()
2014-02-04 16:43:47 +01:00
Marco Martin
68f2de9ec3 correctly export containment properties 2014-02-04 16:18:45 +01:00
David Edmundson
27e5a2ab46 Fix multiscreen popup positioning
This patch makes two changes:
 1) don't rely on window()->screen() it's rubbish.

 2) if the dialog is parented to a desktop, we want to position
 inside the parent, not outside the parent object

REVIEW: 115448
BUG: 330546
2014-02-04 14:55:48 +01:00
Marco Martin
517403096d port improve cache file dropping to plasma-framework
this ports revision c03052935b082 on kdelibs

improve cache file dropping

* fix regression: version the image cache file name
* version the svg elements
* drop old svg elements files
* respond to changes at runtime by watching the theme's metadata.desktop for changes
* move creation of the svg elements file into ThemePrivate::useCache()

REVIEW:115397
2014-02-04 12:06:09 +01:00
Sebastian Kügler
3647ee36ef Add copyright also in .cpp file 2014-02-04 03:29:31 +01:00
Sebastian Kügler
52c489eee5 Units reads longDuration from config file.
This reads the global animation duration value from plasmarc, and gets
notified of changes: change the file, all animations are updated
automatically.

Put this into your plasmarc to disable animations globally:

[Units]
longDuration=0

As you might guess, other values will work as well.

shortDuration will always be 1/5 of this. (For now.)
2014-02-04 03:25:51 +01:00
Sebastian Kügler
09564783a3 Fix wrong property name 2014-02-04 03:15:01 +01:00
Sebastian Kügler
1bfbee809e const-ref in foreach, clean up debugging 2014-02-04 02:18:28 +01:00
Sebastian Kügler
5f5716791a Merge branch 'master' into sebas/themeswitch 2014-02-04 02:13:15 +01:00
Sebastian Kügler
e8413e2703 Set default animation duration back to 250
Both, 0 and 250 works fine now across our imports and applets.
2014-02-04 02:08:44 +01:00
Sebastian Kügler
949e9c3868 Port testcontainment to units.longDuration 2014-02-04 01:35:52 +01:00
Sebastian Kügler
1d0c41f936 Fix animations with animations disabled
This may sound a bit weird, but we can't just switch off everything, as
in some cases, the animation is not just eye-candy, but carries
important semantics of the UI -- examples are BusyIndicator and
ProgressBar. Behaviour for those is restored.
2014-02-04 01:32:12 +01:00
Sebastian Kügler
86e458cdd0 Normalize animations in PlasmaComponents 2014-02-04 00:16:55 +01:00
Sebastian Kügler
27eae008d6 250ms animations become units.longDuration 2014-02-03 18:56:32 +01:00
Marco Martin
362a5017b6 support a corona child of an applet
this is an ad-hoc thing for the systray, would be better not having something like that
2014-02-03 18:47:51 +01:00
Sebastian Kügler
78d14a00c5 Clean removed API from units test 2014-02-03 16:42:29 +01:00
Sebastian Kügler
2ba6bd6cbc PlasmaExtras' animations use units.*Duration 2014-02-03 16:41:57 +01:00
Sebastian Kügler
90d2afb722 Cleanups in units 2014-02-03 16:32:29 +01:00
Sebastian Kügler
30e98ba8f7 units.longDuration and units.shortDuration properties
These centralize the duration of animations, currently set to 250 and 50
milliseconds. They're notifiable since we want to be able to switch off
animations at runtime.

CCMAIL:plasma-devel@kde.org
2014-02-03 16:30:50 +01:00
Sebastian Kügler
f49c37a36c use pluginName() 2014-02-02 02:55:25 +01:00
Sebastian Kügler
1fedbb587c Allow package deinstallation from package file
Uninstall previously only took plugin names. This is unfortunate, since
it made uninstallation from a package file impossible, leaving it to the
user to figure out the plugin name before a package can be uninstalled.

So let's read the plugin name from the zip prior to uninstalling.
2014-02-02 02:33:47 +01:00
Sebastian Kügler
9e491920e5 Only search for metadata.desktop when necessary 2014-02-02 02:25:08 +01:00
Sebastian Kügler
fa7ae03867 Catch packages zipped into subdirectory
This is a pretty common thing, as most zipping tools put the contents
into a subdirectory by default.

Fixes theme package installation.
2014-02-02 02:18:54 +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
174eae6802 Merge branch 'master' into sebas/themeswitch 2014-02-01 22:38:55 +01:00
Sebastian Kügler
210a224bd3 Use icons from Air also for Oxygen
As these icons now change color depending on textColor, they suddenly
become wonderfully useful for the dark themes as well.

Fixes systemtray in Oxygen Plasma theme
2014-02-01 22:38:26 +01:00
l10n daemon script
063366d681 SVN_SILENT made messages (.desktop file) 2014-02-01 04:10:47 +00:00
Marco Martin
b68bbca6c8 check for validity 2014-01-31 20:03:33 +01:00
Marco Martin
89cb417e9f propagate sizehints from mainItem 2014-01-31 19:59:45 +01:00
Marco Martin
856e16e803 safer sizehint propagation 2014-01-31 16:56:16 +01:00
l10n daemon script
cef95ccc63 SVN_SILENT made messages (.desktop file) 2014-01-31 04:30:37 +00:00
Sebastian Kügler
91a861e3ef noise-- 2014-01-31 03:39:10 +01:00
Sebastian Kügler
0f3c51e859 Fix theme listing and installation 2014-01-31 03:38:43 +01:00