Commit Graph

3520 Commits

Author SHA1 Message Date
Aaron J. Seigo
be24975ed6 backport: don't leak config dialogs that are open when the widget goes away
svn path=/branches/KDE/4.2/kdelibs/; revision=930711
2009-02-24 02:54:13 +00:00
Ambroz Bizjak
2321a47eae backport revision 929233
Fix handle possibly moving to the other side if the cursor exist for a short time.
Remove the handle if the cursor goes away before we even appear, previously the handle
was kept invisible until the cursor next entered.

svn path=/branches/KDE/4.2/kdelibs/; revision=929237
2009-02-20 23:24:50 +00:00
Aaron J. Seigo
c4e98d21ed backport fix for br#176280
BUG:176280

svn path=/branches/KDE/4.2/kdelibs/; revision=928672
2009-02-19 19:58:04 +00:00
Ambroz Bizjak
6ebe8f0b9f backport revision 927886
Fix regressions introduced by 914888.

On the other hand, Corona::addItem indirectly calls Containment::itemChange,
which ends up calling AppletPrivate::mainConfigGroup, which then creates a config
group in the wrong file (plasmarc) because isContainment was not set.
This also caused a regression where removed applets reappeared on next plasma run.

Fix:
Manually set isContainment before adding the item to the corona, then
call setIsContainment with a new argument to force the initialization.


svn path=/branches/KDE/4.2/kdelibs/; revision=927891
2009-02-18 14:01:30 +00:00
Script Kiddy
515aaf9895 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=927240
2009-02-17 06:27:43 +00:00
Stephan Kulow
c0a59aee37 make this a dummy function with qt 4.5 (removed completely in trunk)
svn path=/branches/KDE/4.2/kdelibs/; revision=925208
2009-02-12 18:21:32 +00:00
Script Kiddy
b158bab9a1 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=924599
2009-02-11 08:18:52 +00:00
Script Kiddy
f6e8ddef98 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=922551
2009-02-07 08:47:44 +00:00
Ambroz Bizjak
da498987a7 backport 916941
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.
BUG: 181854


svn path=/branches/KDE/4.2/kdelibs/; revision=920881
2009-02-03 23:03:25 +00:00
Sebastian Kügler
2bbae9fb2d Make sure the source applet still exists
backported from trunk

svn path=/branches/KDE/4.2/kdelibs/; revision=919946
2009-02-01 21:58:14 +00:00
Aaron J. Seigo
5171e27826 improved context menu handling
svn path=/branches/KDE/4.2/kdelibs/; revision=919700
2009-02-01 14:56:57 +00:00
Script Kiddy
930eaad353 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=918220
2009-01-29 17:17:20 +00:00
Marco Martin
2e983845d1 backport the initialization of some vars
svn path=/branches/KDE/4.2/kdelibs/; revision=918217
2009-01-29 17:06:57 +00:00
Alexis Ménard
ee34edad4a SVN commit 917619
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=/branches/KDE/4.2/kdelibs/; revision=917622
2009-01-28 08:13:19 +00:00
Script Kiddy
06406afafa SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=916904
2009-01-26 13:01:53 +00:00
Aaron J. Seigo
0e15fbe835 return whether the popup widget is shown as a popup, not whether it's at all visible
BUG:181884

svn path=/branches/KDE/4.2/kdelibs/; revision=916813
2009-01-26 03:16:53 +00:00
Marco Martin
9683275509 backport a fix to a crash when removing the currently active tab
svn path=/branches/KDE/4.2/kdelibs/; revision=916690
2009-01-25 19:22:36 +00:00
Chani Armitage
107173a80e disable the settings action when it's darn well supposed to be disabled
svn path=/branches/KDE/4.2/kdelibs/; revision=916332
2009-01-25 04:24:22 +00:00
Script Kiddy
ce3cf3943c SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=915637
2009-01-23 13:13:26 +00:00
Andreas Hartmetz
570dd9e579 backport fix for bug 178229
svn path=/branches/KDE/4.2/kdelibs/; revision=914922
2009-01-22 02:31:50 +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
972ecd365b setIsContainment creates the toolbox which now reads the config, so we need the Corona sooner to get the right config file
svn path=/branches/KDE/4.2/kdelibs/; revision=914888
2009-01-21 23:53:05 +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
cba376cd4c 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=/branches/KDE/4.2/kdelibs/; revision=914769
2009-01-21 18:24:47 +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
Script Kiddy
c989e14438 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=914644
2009-01-21 13:40:16 +00:00
Andreas Hartmetz
cf8520487b Backport HTTP authentication changes from trunk; they seem to fix more problems than they cause (none known at the moment). Revisions 910563, 913039, 914385 from trunk.
svn path=/branches/KDE/4.2/kdelibs/; revision=914548
2009-01-21 12:47:49 +00:00
Aaron J. Seigo
72d8113c75 need to do this before 4.2.0 so it can be public
svn path=/branches/KDE/4.2/kdelibs/; revision=914447
2009-01-21 06:19:33 +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
Script Kiddy
4f1ab996c2 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=914107
2009-01-20 13:20:56 +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
35cd88ab4e update() on icon config changes
BUG:181298

svn path=/branches/KDE/4.2/kdelibs/; revision=913905
2009-01-20 02:39:27 +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
20f4e402d8 Backport 913616
svn path=/branches/KDE/4.2/kdelibs/; revision=913618
2009-01-19 16:04:03 +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
Script Kiddy
e714099989 SVN_SILENT made messages (.desktop file)
svn path=/branches/KDE/4.2/kdelibs/; revision=913548
2009-01-19 14:10:42 +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
e87fe2244c backport the last chunks of svg fixes, namely now resize() and size()
always behave as expected and the natural svg size is cached on disk

svn path=/branches/KDE/4.2/kdelibs/; revision=912162
2009-01-16 20:14:05 +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