Commit Graph

6858 Commits

Author SHA1 Message Date
David Faure
88e8ef90bf Merge remote-tracking branch 'origin/KDE/4.8' 2012-01-05 18:22:09 +01:00
Script Kiddy
13e1fd98d5 SVN_SILENT made messages (.desktop file) 2012-01-05 09:16:55 +01:00
Script Kiddy
a229500102 SVN_SILENT made messages (.desktop file) 2012-01-03 16:53:17 +01:00
David Faure
5b4f072dd7 Merge remote-tracking branch 'origin/KDE/4.8' 2012-01-02 11:34:43 +01:00
Nikita Churaev
6dcaf4fe7f Fix one-pixel distance from some edges.
REVIEW: 103595
2011-12-31 11:45:02 +04:00
Ralf Habacker
78b79686f8 Merge branch 'KDE/4.7' into KDE/4.8
Conflicts:
	plasma/data/services/plasma.protocol
2011-12-30 23:35:31 +01:00
Script Kiddy
7126ebd18a SVN_SILENT made messages (.desktop file) 2011-12-29 10:46:14 +01:00
Script Kiddy
4a75f4a69b SVN_SILENT made messages (.desktop file) 2011-12-28 15:40:44 +01:00
Aaron Seigo
b0f8408c46 Merge remote branch 'origin/KDE/4.8' 2011-12-22 16:18:29 +01:00
Aaron Seigo
e54737c040 promote to public API from protected; needed by desktop scripting 2011-12-22 13:32:51 +01:00
Script Kiddy
f8c1d76547 SVN_SILENT made messages (.desktop file) 2011-12-22 11:44:55 +01:00
Script Kiddy
e01191b409 SVN_SILENT made messages (.desktop file) 2011-12-21 09:59:40 +01:00
Aaron Seigo
a05d8d0237 use the dialog's current position if not moving
widgets/.pushbutton.h.swp
2011-12-20 12:32:27 +01:00
David Faure
3f743186cf Merge remote-tracking branch 'origin/KDE/4.7'
Conflicts:
	experimental/libkactivities
2011-12-20 11:16:18 +01:00
Aaron Seigo
ca915b0e6c allow resizing from both relevant corners of a popup dialog
also significantly cleans up the popup positioning code and fixes a
lurking bug where width() was used instead of height()

BUG:227095
2011-12-16 14:58:39 +01:00
Aaron Seigo
d6e06ff92d allow controlling the resize a bit more
this allows e.g. popupapplet to put constraints on where the edges of the window can resize to
and react differently when the user is actively resizing the dialog.

CCBUG:227095
2011-12-16 14:57:20 +01:00
Aaron Seigo
64373cf1da sanity check the y just as we do the x 2011-12-16 14:52:16 +01:00
Aaron Seigo
1b2d92c085 delay showing popups until the next processing of events
allows things like hidden panels to show before calculating where to show the popup

BUG:288999
2011-12-16 12:52:29 +01:00
Kevin Kofler
645439c299 Bugfix: Plasma::PackageMetadata::read: Match the behavior of KService.
Also delete the duplicate entries in PackageMetadata::write.

REVIEW: 102404
Approved by Aaron J. Seigo.
2011-12-13 18:05:17 +01:00
Aaron Seigo
7491b9e71f appletsrc files are SimpleConfigs
cascading, let alone kdeglobals, make no sense whatsoever for them. so just skip that overhead.
2011-12-12 09:23:26 +01:00
Aaron Seigo
cf8128ca17 these update scripts operate on files that are no longer used 2011-12-12 09:23:25 +01:00
Martin Gräßlin
9c12c79b1a Fix incorrect offset passing to sliding popups effect
For the generic case without an explicit specified offset, the
offset calculation was incorrect. Instead of calculating the offset
we let kwin decide and indicate it by an offset of -1.
REVIEW: 103366
2011-12-10 22:37:23 +01:00
Allen Winter
dd5f04d6aa fix build on Windows, which apparently does not have the EffectWatcher 2011-12-09 08:13:22 -05:00
Aaron Seigo
50b42f052b use Theme consistently for compositing check 2011-12-08 12:54:28 +01:00
Aaron Seigo
7aa9da0039 correct indentation 2011-12-08 12:54:28 +01:00
Aaron Seigo
a859f6915c compress changed notification events and share the blur effect watcher between themes 2011-12-08 12:54:28 +01:00
Aaron Seigo
359cc3d68a the effect watcher is not blur specific 2011-12-08 12:54:28 +01:00
Aaron Seigo
fe2286c5da remove unecessary painting 2011-12-07 14:43:07 +01:00
Aaron Seigo
a9c3cb256a slightly clearer code 2011-12-07 14:43:07 +01:00
Aaron Seigo
5190b061d1 don't show help button; not appropriate from widget settings
BUG:254835
2011-12-06 22:55:57 +01:00
Aaron Seigo
9d020ded74 don't read in plasmarc EVERY time a tooltip is shown, and be careful to stop the show timer always
there are still some issues with QGraphicsView not sending hover events in all cases, but this is
as good as it gets if we ignore those bugs in Qt.

BUG:247162
2011-12-06 22:43:43 +01:00
Aaron Seigo
0abdaf646d as theme already reads the plasmarc file, use it to cache the tooltipdelay as well 2011-12-06 22:43:43 +01:00
Marco Martin
d109b43101 Merge branch 'KDE/4.7' of git://anongit.kde.org/kdelibs into KDE/4.7 2011-12-06 21:13:16 +01:00
Marco Martin
b332cfade6 clip children
prevent from desktop vigets going into the panel
2011-12-06 21:11:30 +01:00
Aaron Seigo
21c1c05039 this method is no longer in the private class 2011-12-06 17:46:13 +01:00
Aaron Seigo
3f7859b557 if the shortcut hasn't changed, don't try and update it 2011-12-06 17:37:54 +01:00
Aaron Seigo
abd1d9ddba make shortcuts and sharing settings enable Apply; use a QWeakPointer forthe shortcuts widget 2011-12-06 17:36:39 +01:00
Aaron Seigo
57f9668bd1 config changed is not only called by config dialogs anymore, so more the script forwarding into the public API implementation 2011-12-05 00:16:53 +01:00
Aaron Seigo
3948cfb8cf use d->setWidget which notes that it's not a palette customization 2011-12-04 14:00:32 +01:00
Aaron Seigo
e34c70415e git rid of the native member, it's redundant; use d->setWidget which notes that it's not a palette customization 2011-12-04 14:00:32 +01:00
Aaron Seigo
27531a3173 the palette gets updated by all sorts of events on the scene now (incl. reparenting!), so make sure the palette is _really_ changing before marking it as custom
this fixes widget colours not updating with theme changes -> if, for instance, an offscreen widget is created, this results in a reparenting (to null)
and that in turn creates a palette changed event ... which was being intepretted as a custom palette being set and that would disable future updates
due to theme changes.

this also introduces a small helper which computes the palettes once for use by all widgets as a small performance improvement.

BUG:261967
2011-12-04 14:00:32 +01:00
Jaime Torres
4aa690ccc8 return a double usind qMin
qMin is a template, use the right datatype for it.
part of review 103323
2011-12-04 12:28:04 +01:00
Jaime Torres
2c5ec1a56a change return by break and then add a common return
removing dead code (part of review 103323)
2011-12-04 12:27:01 +01:00
Jaime Torres
be08974bfe remove dead code
remove dead code (see review 103323)
2011-12-04 12:25:46 +01:00
Jaime Torres
ab8e956d57 remove a break; after a return
there is no need for a break; after a return (dead code)

REVIEW: 103323
2011-12-04 12:24:35 +01:00
Aaron Seigo
97e4bd53d3 don't delete the kns3 dialog on application shutdown
BUG:288153
2011-12-03 21:22:45 +01:00
Aaron Seigo
b7e335265f catch another possible mimetype identification
BUG:252612
2011-12-03 17:46:20 +01:00
Script Kiddy
66f3acefb9 SVN_SILENT made messages (.desktop file) 2011-12-03 14:30:23 +01:00
Aaron Seigo
1ba3ec0d04 use the default corona in case the widget doesn't provide one
we need a different solution for libplasma2, however.

BUG:281759
2011-12-02 19:01:46 +01:00
Aaron Seigo
e0cd24f83a constrained square makes sense for vertical but not horizontal panels
BUG:282706
2011-12-02 17:30:59 +01:00