Aaron J. Seigo
713ef55b25
don't hold onto applet pointers in a meaningful way, it's just too dangerous
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774358
2008-02-13 04:03:17 +00:00
Aaron J. Seigo
7bce16a810
don't show the rubber band: it doesn't do anything these days. if/when we get multiple selection, turn it back on.
...
BUG:156740,157498
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774352
2008-02-13 02:45:45 +00:00
Aaron J. Seigo
1b96f05721
allow reseting the containment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774348
2008-02-13 02:30:07 +00:00
Aaron J. Seigo
134ccdec7c
* allow 2 actions from the containment before creating a separate menu
...
* let the applet know when all things are up and running, just as with containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774347
2008-02-13 02:29:45 +00:00
Aaron J. Seigo
8472ef7233
raise the applet on clicking of the handle
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774339
2008-02-13 01:53:27 +00:00
Aaron J. Seigo
1637053a9b
let the applet restore itself
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774338
2008-02-13 01:52:45 +00:00
Aaron J. Seigo
1f5e98edec
* allow restoring from applet itself (something i've wanted to to do for a while, have it all in corona isn't a good idea)
...
* restore lock status
* save/restore zorder
* allow "raising" and applet (increase zorder above all others)
* some layout fixes for next monday's big layout fix patch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774337
2008-02-13 01:52:02 +00:00
Aaron J. Seigo
d03a381595
various geometry fixes (though somewhat depends on monday's big layout fix commit)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774336
2008-02-13 01:48:18 +00:00
Aaron J. Seigo
a2c89abc03
put this unreasonably high up so that we really limit the possibility of applets running into it
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774333
2008-02-13 01:40:02 +00:00
Aaron J. Seigo
90c26ae4ad
update package definition for svg themes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774332
2008-02-13 01:39:06 +00:00
Aaron J. Seigo
5e39408689
* don't flicker the handle when we leave before its started showing
...
* take the z value of the applet to preserve stacking order
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774328
2008-02-13 00:49:07 +00:00
Aaron J. Seigo
e27b0ca4d0
ok, second try based on tzander's response. i think this should work better and be a nice come back from lunch toy for him to play/test with.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773999
2008-02-12 10:07:45 +00:00
Aaron J. Seigo
5b394a752f
make popup location calcs xinerama aware. i bet this even closes some BRs. i'm too tired to look for them though. =P
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773980
2008-02-12 09:41:49 +00:00
Andre Duffeck
70b12916b2
react to changes of Plasma::Theme
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773942
2008-02-12 07:33:07 +00:00
Andre Duffeck
c42f0593ba
Fix broken usage of Plasma::Phase
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773933
2008-02-12 05:52:49 +00:00
Andre Duffeck
6961810f6a
Fix crash on closing applets.
...
BUG:157617
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773932
2008-02-12 05:51:43 +00:00
Aaron J. Seigo
899202d2fb
BIC Monday: slight change in the way we handle saving/loading of applets. it no longer sets the internal config name. makes importing/exporting snippets of applets easier, and it also prevents plasmoidviewer from clobbering plasma settings
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773847
2008-02-11 21:43:09 +00:00
Aaron J. Seigo
22c8b77b34
this is not a Plasma::Widget. now styling is back. looks as nasty as ever, though.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773813
2008-02-11 20:50:13 +00:00
Aaron J. Seigo
c7fe098480
avoid flicker
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773744
2008-02-11 17:35:21 +00:00
Aaron J. Seigo
a438b53373
die, setSize, die, and all the problems you represent. silly duplicated, not-like-qwidget API anyways. ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773505
2008-02-11 08:24:09 +00:00
Aaron J. Seigo
e83f329de0
the proper fix for stupid compilers *sigh* setSize(int, int) isn't virtual in Widget, but that doesn't matter in this case at all.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773493
2008-02-11 07:56:53 +00:00
Aaron J. Seigo
eed0410c56
* make setSize virtual as well since it sets d->size internally, so Applet needs to intercept that call
...
* remove some dead code in widgets.cpp
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773475
2008-02-11 06:11:13 +00:00
Aaron J. Seigo
eb5e0658df
SVN_SILENT: silly "make it seem faster" obfuscatory code like this just sets my teeth on edge =) clarity is next to goddessliness
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773474
2008-02-11 06:07:14 +00:00
Aaron J. Seigo
123623d675
We make a thread-local copy of the SearchContext for each Runner. As such, there is no need to do locking on the thread-local copy. This patch also adds assertions on the non-thread safe methods (e.g. addExactMatch) which are used from thread-local copies, but which should never be used in the shared version.
...
Also adds a addMatchesTo(SearchContext) which encapsulates this code and makes it safe to delete matches on object deletion, preventing possible memory leaks on SearchContext destruction.
Finally, don't copy all the SearchMatches already registered for each thread-local copy as that's just unused and unecessary overhead.
BIC, though SC.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773473
2008-02-11 06:04:20 +00:00
Chani Armitage
1c4bdb9408
don't set d->size directly; this fixes the weird issues with setting minimum size before contentsize and makes sure the svg is updated
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773472
2008-02-11 05:53:19 +00:00
Aaron J. Seigo
9335a50776
Ensure that LayoutItem::setParent resets the parents layout if we are currently its layout and release managed items.
...
RB:89
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773471
2008-02-11 05:50:47 +00:00
Bill Egert
a7ccf41c3e
- fix displaying at min height.
...
- fix displaying odd number items on 1 row.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773456
2008-02-11 03:22:41 +00:00
Bill Egert
77412f9c5b
Fill unused space on bottom row.
...
Thanks Marco Martin
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773435
2008-02-11 01:32:00 +00:00
Bill Egert
783872cc77
Fixed what I think are the last of the bugs with laying items out properly within their rect.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773059
2008-02-10 01:59:56 +00:00
Bill Egert
8917da5723
-clean up some coding standards
...
-const up some variables
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772901
2008-02-09 17:40:07 +00:00
Bill Egert
f6be272915
-convert some commented out debug to kDebug()
...
-const up some variables
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772887
2008-02-09 17:10:40 +00:00
Aaron J. Seigo
4ebb5fcaeb
automatic rate limiting of runners: mark ill performing runners as slow, but let speed runners marked as slow back into the main thread pool.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772741
2008-02-09 14:59:43 +00:00
Bill Egert
9906e6746d
Top Align...let items be as large as they can be.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772740
2008-02-09 14:56:04 +00:00
Bill Egert
cc8024c991
Re-work of the relayout() function so that it actually works.
...
screenshot of using flowlayout with tasks applet: http://matt.rogers.name/r/96/s/6/
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772729
2008-02-09 14:29:03 +00:00
Aaron J. Seigo
d99543abb8
lower the default relevance to .7, giving some headroom
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772586
2008-02-09 04:55:43 +00:00
Aaron J. Seigo
cf6a9e6cb9
add support for locolor support in themes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772585
2008-02-09 04:54:43 +00:00
Chani Armitage
75c4518154
SVN_SILENT:
...
less noise.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772576
2008-02-09 03:41:57 +00:00
Marco Martin
2f6a8de658
recalculate all the margin sizes when the plasma theme changes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772465
2008-02-08 20:50:55 +00:00
Aaron J. Seigo
5f0afdd61c
* prevent potential crash introduced with scripting support (non-init'd AbstractRunner*)
...
* get the args right
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772449
2008-02-08 19:21:25 +00:00
Aaron J. Seigo
293a4dc07d
save a write lock and return false (as we don't actually add anything) on addMatches with null items
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772448
2008-02-08 19:10:20 +00:00
Marco Martin
253f892b99
Now tooltips are svg-themed, the svg background for tooltips can be found on desktoptheme/widgets/tooltip.svg and when compositing is disabled desktoptheme/opaque/widgets/tooltip.svg is used
...
at the moment the svgs are the usual ones from the applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=772132
2008-02-07 21:24:20 +00:00
Aaron J. Seigo
2a051a9315
make Theme react to compositing changes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771968
2008-02-07 10:54:38 +00:00
Aaron J. Seigo
ce3e58d2b4
be a lot more careful with how we react to theme changes. makes it innexpensive enough to call a bit more randomly (e.g. when compositing changes)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771873
2008-02-07 04:33:57 +00:00
Aaron J. Seigo
76132227a5
delete the cached image in updateSizes, helps for when the Svg emits repaintNeeded; all calls to updateSizes were prefixed with deleting the cached image anyways
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771872
2008-02-07 04:33:02 +00:00
Aaron J. Seigo
72b7c6f393
more safety, allowing anyone delete a layout or call setParent and have the Right Things(tm) happen without anyone's toes getting blown off in the process.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771851
2008-02-07 02:24:19 +00:00
Chani Armitage
613d5ef850
it's not safe to delete the layout directly
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771845
2008-02-07 01:58:48 +00:00
Chani Armitage
ed47acc7a0
make setting a layout actually safe
...
(reviewed in #plasma)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771825
2008-02-07 00:18:22 +00:00
Aaron J. Seigo
2c264def9d
use SvgPanel. nice way to get rid of 80+ lines of duplicate code
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771744
2008-02-06 21:07:16 +00:00
Aaron J. Seigo
8cd7f80dea
* add the repaintNeeded signal to SvgPanel for those who need that (e.g. krunner)
...
* make non-ContentAtOrigin painting work
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771738
2008-02-06 20:53:14 +00:00
Aaron J. Seigo
c6e9b562e4
* paint non-ContentAtOrigin properly
...
* get stretching right (hint: we don't pre-stretch ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=771712
2008-02-06 19:46:36 +00:00