Alexis Ménard
ef4b6c7187
Add an appletDestroyed signal instead of catching the destruction in containments with qobject destroyed signal.
...
THis fix errors because we give an invalid pointer to public appletRemoved signal.
svn path=/trunk/KDE/kdelibs/; revision=917619
2009-01-28 07:58:17 +00:00
Christophe Giboudeaux
ae301b3718
kaction.h is already included. Just remove the extra ones
...
svn path=/trunk/KDE/kdelibs/; revision=917529
2009-01-28 00:12:02 +00:00
Cédric Borgese
1b12af86cc
Fix compilation : camel case includes of kdelibs headers are not accessible while building kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=917525
2009-01-28 00:01:15 +00:00
Chani Armitage
958cc6e953
-fix settings shortcut
...
-QAction->KAction
IMPORTANT: if you need to do things to the keyboard shortcuts of kactions (which means all of plasma's standard actions from now on), make sure you're using a KAction* and not a QAction*
svn path=/trunk/KDE/kdelibs/; revision=917435
2009-01-27 20:50:34 +00:00
Ambroz Bizjak
5e46bcc2ef
Don't wait for startup complete, it makes the applet obtain
...
proper geometry too late, which causes the desktop applet positioning
algorithm to calculate a wrong initial position.
CCBUG: 181854
svn path=/trunk/KDE/kdelibs/; revision=916941
2009-01-26 14:29:55 +00:00
Marco Martin
0aefb02462
fix resizing in the panel.... again
...
svn path=/trunk/KDE/kdelibs/; revision=916933
2009-01-26 13:58:39 +00:00
Aaron J. Seigo
9ade53ab61
try and watch the config file for changes and reload the theme at that point; for some reason KDirWatch::addFile isn't working for me, but KDirWatch::addDir is? hmm...
...
svn path=/trunk/KDE/kdelibs/; revision=916823
2009-01-26 06:22:44 +00:00
Aaron J. Seigo
b4b0494129
use plasmarc
...
svn path=/trunk/KDE/kdelibs/; revision=916816
2009-01-26 04:41:39 +00:00
Aaron J. Seigo
029154f2ff
return whether the popup is shown as a popup, not whether the popup is at all visible at all
...
svn path=/trunk/KDE/kdelibs/; revision=916812
2009-01-26 03:15:50 +00:00
Aaron J. Seigo
948215e476
unecessary
...
svn path=/trunk/KDE/kdelibs/; revision=916811
2009-01-26 03:15:09 +00:00
Marco Martin
7efa1412b8
VN_SILENT: warning--
...
svn path=/trunk/KDE/kdelibs/; revision=916695
2009-01-25 19:34:41 +00:00
Marco Martin
d0fb10f0cc
don't crash when removing the currently active tab
...
will backport to 4.2
svn path=/trunk/KDE/kdelibs/; revision=916689
2009-01-25 19:21:14 +00:00
Marco Martin
21144164ff
no camelcase includes, fixes build, sooory
...
svn path=/trunk/KDE/kdelibs/; revision=916620
2009-01-25 17:08:54 +00:00
Marco Martin
e720a24966
paint close buttons if asked to
...
svn path=/trunk/KDE/kdelibs/; revision=916527
2009-01-25 13:26:53 +00:00
Alessandro Diaferia
82fb975523
a useful method to remove a previously set iconAction
...
svn path=/trunk/KDE/kdelibs/; revision=916376
2009-01-25 09:58:02 +00:00
Marco Martin
bb8c603060
moved the activate() signal chaining from applet to containment
...
svn path=/trunk/KDE/kdelibs/; revision=915940
2009-01-24 10:47:35 +00:00
Marco Martin
b743c9fa35
applets Z orders can be negative too
...
svn path=/trunk/KDE/kdelibs/; revision=915762
2009-01-23 18:07:20 +00:00
Marco Martin
02d5bb8025
when an applet emits activate() the containment emits it too
...
svn path=/trunk/KDE/kdelibs/; revision=915759
2009-01-23 18:06:04 +00:00
Aaron J. Seigo
3b547e427b
inversion of logic
...
svn path=/trunk/KDE/kdelibs/; revision=915490
2009-01-23 07:38:04 +00:00
Aaron J. Seigo
14ac4a4271
a lot less popup flickering and repainting. if there are no sideeffects to this discovered, this needs to be backported to the 4.2 branch.
...
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=915488
2009-01-23 07:33:30 +00:00
Aaron J. Seigo
a414e32f0b
some clean ups
...
svn path=/trunk/KDE/kdelibs/; revision=915487
2009-01-23 07:32:11 +00:00
Marco Martin
c532c9fda5
initialize the natural size also for absolute path svgs
...
never insert the whole image (no element) in the invalid list
to backport or not to backport?
CCMAIL plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=915328
2009-01-22 19:59:25 +00:00
Marco Martin
2836267745
with a minimum size policy screws a little bit less in layouts
...
svn path=/trunk/KDE/kdelibs/; revision=915265
2009-01-22 16:59:13 +00:00
Marcos David Dione
9eab58a6b2
make plasma applets yield space for greedy applets.
...
svn path=/trunk/KDE/kdelibs/; revision=915261
2009-01-22 16:49:45 +00:00
Ryan P. Bitanga
60e3019818
Introduce a new queue policy for normal speed runners
...
svn path=/trunk/KDE/kdelibs/; revision=915163
2009-01-22 14:23:34 +00:00
Aaron J. Seigo
72d632a234
this started out as a self contained patch just to merge two actions, but rapidly got out of hand ;)
...
* default to no config interface for containments
* merge the Appearance Settings and Configure actions for containments
* be even more careful with about-to-be-deleted widget (d->transient) including giving them a fake-but-valid scratchpad of a KConfigGroup if requested after deletd
* replace some method calls with direct access to the private members
svn path=/trunk/KDE/kdelibs/; revision=914890
2009-01-22 00:00:16 +00:00
Aaron J. Seigo
c2aeb35b54
setIsContainment creates the toolbox, which now reads from the config, which requires Corona to be around or else we use the wrong config file.
...
svn path=/trunk/KDE/kdelibs/; revision=914887
2009-01-21 23:50:57 +00:00
Aaron J. Seigo
240a1632a9
actually need to update queueCount otherwise we just go until we run out of sources and an assert due to dequeuing an empty stack. whoops.
...
svn path=/trunk/KDE/kdelibs/; revision=914768
2009-01-21 18:23:10 +00:00
Aaron J. Seigo
e817ea81f5
woah, can't believe i didn't catch this one... another day later and it would've been ABI disaster! ;)
...
svn path=/trunk/KDE/kdelibs/; revision=914446
2009-01-21 06:17:23 +00:00
Aaron J. Seigo
fb8af31791
some missing API bits
...
svn path=/trunk/KDE/kdelibs/; revision=914441
2009-01-21 05:59:33 +00:00
Chani Armitage
0f3f06f024
all plasma shortcuts are emacs-style now, starting with alt-d, to avoid conflicts.
...
svn path=/trunk/KDE/kdelibs/; revision=914295
2009-01-20 19:38:45 +00:00
Aaron J. Seigo
ce8a3e3ed7
the true default to setHasConfigurationInterface actually needs to call the setter method as that sets up the action
...
svn path=/trunk/KDE/kdelibs/; revision=913908
2009-01-20 03:12:08 +00:00
Aaron J. Seigo
9d262c3619
update() on icon config changes
...
BUG:181298
svn path=/trunk/KDE/kdelibs/; revision=913904
2009-01-20 02:37:52 +00:00
Aaron J. Seigo
65268e77d4
by default, applet scripts get the generic config dialog
...
svn path=/trunk/KDE/kdelibs/; revision=913900
2009-01-20 02:11:01 +00:00
Aaron J. Seigo
e5d42d17b7
move the default value of setHasConfigurationInterface to the ctor now that i have time to comb through all our widgets
...
svn path=/trunk/KDE/kdelibs/; revision=913792
2009-01-19 21:24:55 +00:00
Marco Martin
e2e814e9bf
IconWidget background looked freaking old, now uses the svg backgrond from
...
the folderview icons (and as a bonus it's even less code :D)
svn path=/trunk/KDE/kdelibs/; revision=913758
2009-01-19 20:41:45 +00:00
Olivier Goffart
7bd898f55e
Fix crash at plasma startup.
...
The toolbox has to be initialized before any call to setCollapsed. (because the resize event uses it)
svn path=/trunk/KDE/kdelibs/; revision=913616
2009-01-19 16:03:20 +00:00
Aaron J. Seigo
307f5760c3
* do the input sanitization first
...
* use newScreen and newDesktop to make the code more understandable; someone already tripped up on d->screen vs screen in a bug report. d->screen vs newScreen should be harder to miss.
svn path=/trunk/KDE/kdelibs/; revision=913111
2009-01-18 19:52:09 +00:00
Aaron J. Seigo
5e41fb8132
don't lose the desktop in the process of swaping contaiment assignments; include desktop assignment in the debug
...
CCBUG:175697
svn path=/trunk/KDE/kdelibs/; revision=913049
2009-01-18 17:56:06 +00:00
Marco Martin
88abeaf783
icon() and setIcon() in the api, pretty foundamental in a tool button...
...
svn path=/trunk/KDE/kdelibs/; revision=913027
2009-01-18 17:28:04 +00:00
Marco Martin
53658a106e
style with FrameSvg all the lineedits, spinboxes and comboboxes, use
...
Plasma::Style to achieve that, since it's a kinda repetitive thing and
comboboxes and spinboxes are complex controls
the svg used will probably change
svn path=/trunk/KDE/kdelibs/; revision=912567
2009-01-17 18:00:33 +00:00
Marco Martin
22b6670f00
cache on disk the natural svg size
...
svn path=/trunk/KDE/kdelibs/; revision=912132
2009-01-16 19:14:38 +00:00
Rob Scheepmaker
bfb771ddd8
Make all items persistent by default, even if still attached. This allows us to restore their position and their collapsed state.
...
svn path=/trunk/KDE/kdelibs/; revision=912127
2009-01-16 18:49:54 +00:00
Marco Martin
8a0159e10e
ensure that size() always return the real size
...
svn path=/trunk/KDE/kdelibs/; revision=912123
2009-01-16 18:43:26 +00:00
Marco Martin
ab3501872d
ensure that resize() resize always to the natural size (cached, so we
...
don't create unnecessary renderers)
svn path=/trunk/KDE/kdelibs/; revision=912093
2009-01-16 17:41:49 +00:00
Aaron J. Seigo
f5c70115db
delete the config file first before the temp file so that it doesn't write itself out after the tempfile has been removed, avoiding spawning endless temp files.
...
svn path=/trunk/KDE/kdelibs/; revision=912076
2009-01-16 17:16:10 +00:00
Aaron J. Seigo
512bcd03a9
insert into the local cache
...
svn path=/trunk/KDE/kdelibs/; revision=911758
2009-01-16 02:46:33 +00:00
Aaron J. Seigo
023ae75d69
allow package structures to say that external paths are ok. defaults to false, though some packagestructures that do not have executable code capabilities (e.g. wallpaper image sets) may wish to take advantage of this
...
CCBUG:180716
svn path=/trunk/KDE/kdelibs/; revision=911736
2009-01-16 01:02:35 +00:00
Aaron J. Seigo
4bc508411a
neat bug: changing Activity type while widgets are locked caused Appearances settings to be permahidden. chased out a few other ways to trigger this once that one was fixed, works nicely now.
...
BUG:180887
svn path=/trunk/KDE/kdelibs/; revision=911727
2009-01-16 00:39:07 +00:00
Aaron J. Seigo
8056505aa0
more verbosity is helpful in debugging these things
...
svn path=/trunk/KDE/kdelibs/; revision=911726
2009-01-16 00:32:58 +00:00