Andrew Lake
9b312459be
renderers hash table keys created with path but erased with themePath.
...
Corrects memory leak on theme change.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867965
2008-10-05 04:47:25 +00:00
Konstantin Heil
a99aee5e8d
Scrolling on desktop travels the virtual desktop in reverge direction than scrolling on the pager. Because scolling on desktop was a little bit confusing: changed scoll direction.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867906
2008-10-04 22:09:15 +00:00
Fredrik Höglund
a3c564c129
Fix a valgrind warning:
...
Conditional jump or move depends on uninitialised value(s)
at 0x4137DA3: Plasma::Dialog::mouseMoveEvent(QMouseEvent*) (dialog.cpp:201)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867837
2008-10-04 15:56:56 +00:00
Fredrik Höglund
5da0fde1b3
Fix the crash on exit bug in PopupApplet.
...
The Plasma::Dialog is initially created without a parent, but can later be
reparented to the Plasma::View. The problem with this is that when plasma
quits, the view and its children are deleted before the scene and its children.
So when the PopupApplet destructor is invoked, it tries to delete what is now
a dangling pointer.
Solve this problem by wrapping the dialog pointer in a QPointer.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867830
2008-10-04 15:36:09 +00:00
André Wöbbeking
78e744ca5d
it's mainconfigui not mainconfiggui
...
I don't know, why mainconfiggui is right in read()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867723
2008-10-04 11:00:13 +00:00
Marco Martin
b765b0c711
always be a popup when the icon is null
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867521
2008-10-03 18:01:55 +00:00
Fredrik Höglund
48b41f3a85
Creating a KColorScheme is expensive, so let's not do that every time
...
someone calls Theme::color().
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867517
2008-10-03 17:44:04 +00:00
Aaron J. Seigo
22919a4b27
* remove an unused member (d->layout)
...
* try harder to create a layout when we might need one
* remove the "setting a default icon" stuff in the ctor; it was misguided and really just covering up for a bug in popupConstraintsEvent
* fix said bug in popupConstraintsEvent (don't check for icon before laying things out in non-vert/horiz formfactors)
* don't put an event filter on the graphics item. i have no idea what the idea behind that was (hooray for no comments! =), perhaps Richard S. can enlighten us as it was one of his commits ..
CCMAIL:r.scheepmaker@student.utwente.nl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867506
2008-10-03 17:20:01 +00:00
Aaron J. Seigo
4bc96a8763
applet can never be null
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867467
2008-10-03 15:14:11 +00:00
Aaron J. Seigo
70f1b85426
blarg. one button is *probably* enough
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867162
2008-10-02 23:10:55 +00:00
Aaron J. Seigo
162fc57e8a
don't bother the service plugin if the operation doesn't exist; no different in practice, but moves error handling more central
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867109
2008-10-02 20:12:32 +00:00
Marco Martin
5c45bf09e8
implement a sizehint that permits to use the frame just as a simple
...
header (i.e when empty return the height of the title font+margins)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867107
2008-10-02 20:07:49 +00:00
Marco Martin
1f7a0f7560
combobox uses PaintUtils::transition
...
some cleanups in PushButton
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867098
2008-10-02 19:39:00 +00:00
Aaron J. Seigo
165f387e45
be paranoid about it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867096
2008-10-02 19:38:41 +00:00
Aaron J. Seigo
3365bc1d94
make it clear why you SHOULDN'T be using this method
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866863
2008-10-02 06:08:31 +00:00
Aaron J. Seigo
7f134e04fe
update when the theme does
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866855
2008-10-02 03:55:01 +00:00
Sebastian Kügler
5c7e5ab2e3
Respect Plasma's colour scheme
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866848
2008-10-02 03:36:11 +00:00
Aaron J. Seigo
a062bbc901
* prevent some possibe crash interactions between extenders and applets
...
* proper save of geometry, transform and position post startup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866823
2008-10-01 23:52:50 +00:00
Aaron J. Seigo
2f87c469f7
the contents rect check is a cheap cop out mostly, but it works a lot. when it doesn't, also make sure we aren't dealing with an applets whose shape is the bounding rect
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866793
2008-10-01 22:26:43 +00:00
Alessandro Diaferia
fbc68c415f
convenience method inControlArea()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866786
2008-10-01 21:53:38 +00:00
Marco Martin
e0bd985045
use PaintUtils::transition
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866781
2008-10-01 21:40:38 +00:00
Marco Martin
7d9e7a74cb
put the to pixmap in the center if the two pixmap have a different size
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866779
2008-10-01 21:40:08 +00:00
Aaron J. Seigo
9d616e85b8
SVN_SILENT: more wsocd
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866690
2008-10-01 17:23:51 +00:00
Aaron J. Seigo
c24f9c4f42
slightly more straightforward
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866469
2008-09-30 23:21:51 +00:00
Aaron J. Seigo
835035a94d
forward the link activated signal; common one
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866468
2008-09-30 23:21:22 +00:00
Marco Martin
53c1c1cdbe
panelPixmap() to retrieve the cached rendered panel (and render if it's
...
not in the cache)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866437
2008-09-30 20:47:47 +00:00
Marco Martin
5f51803436
e PaintUtils::transition
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866417
2008-09-30 19:54:04 +00:00
Aaron J. Seigo
58e9d2c40f
add a convenience method, clearToolTipContent, which turns a common 3 liner into one
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866377
2008-09-30 18:26:50 +00:00
Marco Martin
1e12bfe8ca
style with the PushButton svg elements when is not editable
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866345
2008-09-30 16:17:49 +00:00
Marco Martin
c1a7cb7ce7
pixmap fading transition effect in paintutils taken from
...
KFileItemDelegate::Private::transition()
now icon widget uses it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866344
2008-09-30 16:15:00 +00:00
Aaron J. Seigo
266765dd9b
take an optional parent parameter, always be sure the job has a parent
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866341
2008-09-30 16:03:11 +00:00
Aaron J. Seigo
443a3b3352
* support TryExec
...
* fix include order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866331
2008-09-30 15:41:21 +00:00
Aaron J. Seigo
1b266963bb
one property we don't use anymore, and one we now do
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866330
2008-09-30 15:40:46 +00:00
Aaron J. Seigo
a236434b99
this is still messed up =/
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866084
2008-09-29 23:52:02 +00:00
Script Kiddy
87f30291ec
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865874
2008-09-29 11:19:40 +00:00
Aaron J. Seigo
367936cc09
* remove the check for layout() in setFormFactor; that's no longer valid
...
* emit config needs saving signals when these things change
* only write the changes if the values actually do change
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865206
2008-09-27 01:54:24 +00:00
Aaron J. Seigo
d732923026
save changes as they happen
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865205
2008-09-27 01:51:52 +00:00
Aaron J. Seigo
7dd036c4ab
fix the test
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865200
2008-09-27 00:17:07 +00:00
Petri Damstén
fdfdb97adb
Add support for defaultPackageRoot and servicePrefix to package handling.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865083
2008-09-26 15:43:32 +00:00
Aaron J. Seigo
02ba0e68a1
delete the script before the package!
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864836
2008-09-25 16:27:49 +00:00
Aaron J. Seigo
e1a0d5bb9c
* save the size/rotation shortly after it's made .. should help preserve those changes in cases of crashes mor consistently
...
* delete the script before deleting the items it might rely on (e.g. the package!)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864835
2008-09-25 16:26:04 +00:00
Frederik Schwarzer
ee8d547da8
let me introduce: typo of the year "the the"
...
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)
svn path=/trunk/KDE/kdelibs/; revision=864814
2008-09-25 15:05:22 +00:00
Dario Freddi
9556863db5
Fixing a typo that caused segfault, added a comment for reviewing config loading
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864775
2008-09-25 12:40:13 +00:00
Sebastian Kügler
eba90f900b
Less random size for the extender's title ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864554
2008-09-25 03:09:24 +00:00
Aaron J. Seigo
b28cd641ce
more careful
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864514
2008-09-24 21:55:37 +00:00
Aaron J. Seigo
c676e5130b
there is always an extender item
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864510
2008-09-24 21:46:37 +00:00
Aaron J. Seigo
e2b8fa258a
use the config defined in the constructor for runner settings as well
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864402
2008-09-24 18:13:21 +00:00
Marco Martin
7e975d764c
make it compile on arm
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864367
2008-09-24 15:59:29 +00:00
Laurent Montel
8e9aed75a6
Be sure to delete it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864270
2008-09-24 11:44:39 +00:00
Aaron J. Seigo
d9a206dc22
SVN_SILENT: ws
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864141
2008-09-24 02:49:21 +00:00