Commit Graph

6621 Commits

Author SHA1 Message Date
Jacopo De Simoi
a0c4af373d Added a way to flag old searchJobs as stale, make sure that obsoleted matches do not interfere with new ones, corrected a misplaced brace in the previous commit
svn path=/branches/KDE/4.2/kdelibs/; revision=934465
2009-03-03 07:52:25 +00:00
Jacopo De Simoi
186416f391 backport - prevents deadlock (deferredRun)
CCBUG: 181057

svn path=/branches/KDE/4.2/kdelibs/; revision=934418
2009-03-03 02:08:31 +00:00
Jacopo De Simoi
218093c467 Prevents a deadlock when dealing with a deferredRun
BUG: 181057

svn path=/trunk/KDE/kdelibs/; revision=934417
2009-03-03 02:07:19 +00:00
Marco Martin
3f50ffd7ce deactivate the dialog borders that are at the edge of the working
desktop, makes kickoff more fitts law friendly and gives for free an
extender-like appearance to all dialogs

svn path=/trunk/KDE/kdelibs/; revision=934351
2009-03-02 20:32:01 +00:00
Marco Martin
4419fa0336 set ignoretransfprms only when in toolbar mode, this works around a qt
bug where the input gets killed on widgets with clipchildrentoshape when
there is an ignoretransformations one and makes the thing look better
when there is another view zoomed out (like magnifique plasmoid)

svn path=/trunk/KDE/kdelibs/; revision=934137
2009-03-02 13:14:58 +00:00
Marco Martin
a0194765cb don't have borders or background by default
svn path=/trunk/KDE/kdelibs/; revision=933789
2009-03-01 16:01:20 +00:00
Artur Duque de Souza
d0205d92b3 Changes inside Plasma::Applet to test if we have a popup
and if this is true, if we should use widget() or graphicsWidget()
to show the BusyWidget.


svn path=/trunk/KDE/kdelibs/; revision=933444
2009-02-28 22:52:17 +00:00
Marco Martin
0d9a13405e forward linkHovered signal too
svn path=/trunk/KDE/kdelibs/; revision=933384
2009-02-28 20:25:13 +00:00
Wang Kai
daef833362 BUG: 179684
BUG: 181451
sync the config, and connect the config file's create signal
so Plasma::Theme::themeChanged() work across process 

svn path=/trunk/KDE/kdelibs/; revision=933145
2009-02-28 06:40:54 +00:00
Christian Ehrlicher
7226f0a731 a lot more KUrl::path() -> KUrl::toLocalFile() changes
svn path=/trunk/KDE/kdelibs/; revision=933028
2009-02-27 20:53:53 +00:00
Andrew Coles
256acaada3 Replaced an exclamation point with a period. The fine line between
indicating that the program is shocked, or suggesting that it is
shouting at the user....


svn path=/trunk/KDE/kdelibs/; revision=932743
2009-02-27 11:24:55 +00:00
Marco Martin
00f6d85a35 set the proper margins
svn path=/trunk/KDE/kdelibs/; revision=932540
2009-02-26 21:21:05 +00:00
Richard Dale
3adfa46823 * The default package structure of a scripting data engine needs to be a
plasmoid, otherwise custom main script names won't work

svn path=/trunk/KDE/kdelibs/; revision=932329
2009-02-26 11:34:06 +00:00
Richard Dale
d18c772f29 * The default package structure of a scripting data engine needs to be a
plasmoid, otherwise custom main script names won't work

svn path=/branches/KDE/4.2/kdelibs/; revision=932319
2009-02-26 11:11:45 +00:00
Sebastian Kügler
57162f188d Don't crash here.
It does crash there for me when I click onto an applet's handle which has been added from another applet. I'm not sure why this happens. I've been running with this patch for a couple of days and didn't notice any sideeffects, besides plasma not crashing.

svn path=/trunk/KDE/kdelibs/; revision=931935
2009-02-26 00:11:41 +00:00
Aaron J. Seigo
a88f2d8247 FEATURE: allow themes to state that they should use the native widgets
svn path=/trunk/KDE/kdelibs/; revision=931193
2009-02-24 22:42:06 +00:00
Aaron J. Seigo
01e4d0916a don't bother writing the settings if we just read them!
svn path=/trunk/KDE/kdelibs/; revision=931141
2009-02-24 20:49:46 +00:00
Ambroz Bizjak
334a27933d backport revision 931126
Fix bug 184930.
The containment's screen can change after it is initially created, so make sure
it is changed in the view as well.

svn path=/branches/KDE/4.2/kdelibs/; revision=931127
2009-02-24 20:31:25 +00:00
Ambroz Bizjak
497fae72fe Fix bug 184930.
The containment's screen can change after it is initially created, so make sure
it is changed in the view as well.

svn path=/trunk/KDE/kdelibs/; revision=931126
2009-02-24 20:28:29 +00:00
Marco Martin
59896b6e95 backport correct margin calculation
svn path=/branches/KDE/4.2/kdelibs/; revision=931032
2009-02-24 16:58:06 +00:00
Marco Martin
a82716d835 take the right sizes of the margin hints
svn path=/trunk/KDE/kdelibs/; revision=931029
2009-02-24 16:47:51 +00:00
Aaron J. Seigo
eba8c2db85 delete the dialog
svn path=/branches/KDE/4.2/kdelibs/; revision=930930
2009-02-24 14:19:33 +00:00
Andreas Pakulat
5e59421a1f revert r930711, it breaks compilation because configDialogId() doesn't exist on
AppletPrivate.

CCMAIL:aseigo@kde.org

svn path=/branches/KDE/4.2/kdelibs/; revision=930815
2009-02-24 11:07:43 +00:00
Petri Damstén
13e9b7c2c4 delete svgBackground even if svgFilename is empty so it can be resetted.
svn path=/trunk/KDE/kdelibs/; revision=930783
2009-02-24 08:47:03 +00:00
Aaron J. Seigo
04824f48c7 streamlining made while hunting for the panel changing bug. at least i have something to show for my pain.
svn path=/trunk/KDE/kdelibs/; revision=930729
2009-02-24 04:54:57 +00:00
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
Aaron J. Seigo
6bae773c79 if the config dialog is still around, delete it when the applet goes down.
svn path=/trunk/KDE/kdelibs/; revision=930709
2009-02-24 02:34:57 +00:00
Aaron J. Seigo
830a1d19dd give access to the standard config dialog to script engines that care to use it
svn path=/trunk/KDE/kdelibs/; revision=930708
2009-02-24 02:32:48 +00:00
Marco Martin
d86a36efa1 little tweak to the overlay look
svn path=/trunk/KDE/kdelibs/; revision=930624
2009-02-23 22:10:30 +00:00
Ivan Čukić
bb3ebe644f Sets the focus for widget in Plasma::Dialog on show
svn path=/trunk/KDE/kdelibs/; revision=930557
2009-02-23 20:15:11 +00:00
Marco Martin
4b8bebf239 permit locked containments to move, should fix a zui breakage
(ContainmentPrivate::positionContainments should always be permitted)

svn path=/trunk/KDE/kdelibs/; revision=930442
2009-02-23 13:48:04 +00:00
Marco Martin
9fd15b5e2f check if the layout has also the tabwidget widget or not, crash--
svn path=/trunk/KDE/kdelibs/; revision=930400
2009-02-23 11:26:45 +00:00
Marco Martin
8fe01d477c unbreak toolbox on zoomed out view
svn path=/trunk/KDE/kdelibs/; revision=930197
2009-02-22 20:18:08 +00:00
Marco Martin
b2c950d01e SVN_SILENT: remove stupid debug output
svn path=/trunk/KDE/kdelibs/; revision=930053
2009-02-22 15:52:03 +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
Ambroz Bizjak
205a1700b2 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=/trunk/KDE/kdelibs/; revision=929233
2009-02-20 23:23:55 +00:00
Marco Martin
8fbb555bbd -now the size takes borders into account
-correctly resize the rooltip window when the winid to preview changes
-experiment with a little border/shadow around the thumbnail

svn path=/trunk/KDE/kdelibs/; revision=929211
2009-02-20 22:12:59 +00:00
Alexis Ménard
7f18ee0afa Revert "Avoid too much updates, remove old codes since 4.5 manage the opacity."
Revert it since it cause some problems, i will investigate

svn path=/trunk/KDE/kdelibs/; revision=929192
2009-02-20 21:30:05 +00:00
Alexis Ménard
6afbdb4870 Avoid too much updates, remove old codes since 4.5 manage the opacity.
svn path=/trunk/KDE/kdelibs/; revision=929188
2009-02-20 21:22:34 +00:00
Elvis Stansvik
b2665af9cf Typo, s/to/for/
svn path=/trunk/KDE/kdelibs/; revision=928823
2009-02-20 08:41:56 +00:00
Marco Martin
ca3004d9c4 Q_PROPERTY and Q_ENUMS to play well with javascript
svn path=/trunk/KDE/kdelibs/; revision=928719
2009-02-19 21:46:08 +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
Aaron J. Seigo
9f40f63081 prevent panels from encroaching into positive space and screwing things up: constraintsEvent is delayed, and that event loop is entered between. this is something that needs to be done synchronously, however. SizeConstraint is triggered by Applet::resizeEvent, so putting this code in resizeEvent is no more or less immune to applets/containments reimplementing resizeEvent and not calling the base implementation.
BUG:176280

svn path=/trunk/KDE/kdelibs/; revision=928671
2009-02-19 19:50:19 +00:00
Aaron J. Seigo
1f6e98c957 revert r#176280 as it's just a work around for the real problem
svn path=/trunk/KDE/kdelibs/; revision=928670
2009-02-19 19:47:24 +00:00
Marco Martin
d2446a59fc make the applet appear in the direction nearest to the mouse instead of
the entry position, more hanle-follows-mind

svn path=/trunk/KDE/kdelibs/; revision=928669
2009-02-19 19:43:52 +00:00
Marco Martin
0a60f4c5d2 better support for tiled overlays
svn path=/trunk/KDE/kdelibs/; revision=928085
2009-02-18 21:35:23 +00:00
Marco Martin
ae80ec1806 it's dangerous to access config() there, for now let's try to use just
the applet id as deterministic seed, let's see if it will have seemingly
random enough results

svn path=/trunk/KDE/kdelibs/; revision=928015
2009-02-18 19:47:32 +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
Ambroz Bizjak
a27a09fefc Fix regressions introduced by 914887.
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=/trunk/KDE/kdelibs/; revision=927886
2009-02-18 13:55:18 +00:00
Marco Martin
699b688de7 don't try to access config here if we don't have a containment, one
cause less to have destroyed config files (we should find a better
solution for overlays)

svn path=/trunk/KDE/kdelibs/; revision=927611
2009-02-17 22:06:30 +00:00