Richard Dale
415a82ccfc
* I hope the normal standard of service is resumed in the plasma trunk, sorry..
...
svn path=/trunk/KDE/kdelibs/; revision=1013796
2009-08-20 19:05:14 +00:00
Richard Dale
fdd07bf6d2
* Attempt to fix borked commit
...
svn path=/trunk/KDE/kdelibs/; revision=1013794
2009-08-20 18:43:36 +00:00
Richard Dale
eb51ca9165
* Add a Plasma::AppletScript::addStandardConfigurationPages() method that adds
...
standard pages to a configuration dialog such as the shortcuts one. In
conjunction with standardConfigurationDialog() this will allow script engines
to use the same dialogs as C++ applets
svn path=/trunk/KDE/kdelibs/; revision=1013765
2009-08-20 18:19:44 +00:00
Aaron J. Seigo
1e7c17ae24
cleanups and another remove-before-deletion
...
svn path=/trunk/KDE/kdelibs/; revision=1012704
2009-08-18 01:05:37 +00:00
Chani Armitage
ae2378a8da
some code cleanup
...
fix copyright
always init a contextaction before trying to use it
no more unexpected click-throughs
contextAction() returns the plugin name instead of a pointer
svn path=/trunk/KDE/kdelibs/; revision=1012645
2009-08-17 22:31:18 +00:00
Chani Armitage
f0a68d537c
make rightclick plugins possible
...
this makes rightclicks use the plugin configured for rightclick
and adds a new method to the plugin for when an applet is rightclicked
(we need a list of actions then that we can insert into the menu)
this also adds a signal for immutability and improves handling of
needs-configuring plugins
svn path=/trunk/KDE/kdelibs/; revision=1012639
2009-08-17 22:30:46 +00:00
Marco Martin
32ac2f11fb
when an applet is in another applet return a constrained formfactor if
...
the parent applet is too little
popupapplet uses the parent size insted of the containment to decide the
switch between full and popup, in all normal cases parent is the
containment, except for the ugly applet in applet cases
svn path=/trunk/KDE/kdelibs/; revision=1008775
2009-08-08 11:34:49 +00:00
Aaron J. Seigo
a4b980b37b
a little more paranoia around action access
...
svn path=/trunk/KDE/kdelibs/; revision=1004683
2009-07-30 18:13:01 +00:00
Marco Martin
85cb69d28f
save the background hints in two vars when they are set, use the second
...
to restore the ones that were decided before the formfactor change. i.e.
no more need to set again and again the hints in formFactorConstraints
svn path=/trunk/KDE/kdelibs/; revision=1003180
2009-07-27 20:14:38 +00:00
Richard Dale
a3a97eec7d
* Add Plasma/PluginApplet as another type of plasmoid service when making KTrader queries
...
svn path=/trunk/KDE/kdelibs/; revision=1002599
2009-07-26 14:20:31 +00:00
Aaron J. Seigo
51434fc5f1
list applets which have an X-KDE-ParentApp= entry in their .desktop file
...
svn path=/trunk/KDE/kdelibs/; revision=1002131
2009-07-25 05:00:27 +00:00
Richard Dale
f962a9c958
* Change the name of the initScriptExtenderItem to extenderItemRestored as it is less clumsy
...
svn path=/trunk/KDE/kdelibs/; revision=999251
2009-07-19 14:25:00 +00:00
Richard Dale
695168a4bd
Add getters and setters for PopupApplet::widget() and PopupApplet::graphicsWidget()
...
for use in scripting languages. Add a initScriptingExtenderItem() signal for script
engines to connect to and call their versions of Applet::initExtenderItem()
svn path=/trunk/KDE/kdelibs/; revision=998323
2009-07-17 12:31:08 +00:00
Marco Martin
b73625fbfc
don't mess with size policies that the applet could have set (still do
...
that on square aspect ratio, that's bad but the aspectRatioMode() is
kinda old cruft from pre-qgraphicswidget times..
BUG: 199921
svn path=/trunk/KDE/kdelibs/; revision=995461
2009-07-12 19:34:28 +00:00
Marco Martin
a3c54b201c
move the status stuff into Applet, constify and also put a bit of apidox
...
(forgotten from the previous commit:))
svn path=/trunk/KDE/kdelibs/; revision=993912
2009-07-09 17:19:00 +00:00
Laurent Montel
22a3d92cdc
const'ify
...
svn path=/trunk/KDE/kdelibs/; revision=992163
2009-07-06 11:49:01 +00:00
Aaron J. Seigo
759f47be25
* don't take address of temporaries
...
* reflect the "config can come from applet if it is parent" change in itemChange() as well
* add a few comments and make the code a bit easier to read in places
svn path=/trunk/KDE/kdelibs/; revision=989704
2009-06-30 18:09:27 +00:00
Marco Martin
c906b58d08
allow applet configuration and extenderitems config nested into the
...
group of another applet
this thing is possibly dangerous, so better plasma-devel is informed
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=989520
2009-06-30 13:32:40 +00:00
Aaron J. Seigo
a179a16a9e
only close the desktop toolbox if the action is non-repeatable, which implies it's a fire-and-forget type of action such as something that triggers a dialog
...
BUG:198229
svn path=/trunk/KDE/kdelibs/; revision=988884
2009-06-29 01:22:58 +00:00
Marco Martin
ed562d82dd
reposition the popup when the containment geometry changes
...
partially addresses 197522 (still have to manage cases where the view
just moves or the screen resizes without resizing the containment)
CCBUG:197522
svn path=/trunk/KDE/kdelibs/; revision=987082
2009-06-25 14:13:14 +00:00
Chani Armitage
fbb9239dda
enforce security.
...
from now on, unsafe widgets won't show up in the screensaver's appletbrowser.
svn path=/trunk/KDE/kdelibs/; revision=986809
2009-06-25 06:44:01 +00:00
Petri Damstén
414b22f26b
Do X-Plasma-DefaultSize resize in AppletPrivate::init
...
svn path=/trunk/KDE/kdelibs/; revision=984355
2009-06-20 15:58:59 +00:00
Marco Martin
eb7b8827e1
check for the view, crash--
...
(crash probably not reported on bz)
svn path=/trunk/KDE/kdelibs/; revision=984203
2009-06-20 13:00:48 +00:00
Aaron J. Seigo
27e83c08d8
refuse to destroy an applet before it's started; apparently there are some rather inventive people out there
...
svn path=/trunk/KDE/kdelibs/; revision=984116
2009-06-20 02:14:43 +00:00
Aaron J. Seigo
198c7cd970
when the background hints change, ensure we schedule an update; fixes the background of the folderview not being painted on first plasma start
...
svn path=/trunk/KDE/kdelibs/; revision=982099
2009-06-14 22:12:40 +00:00
Aaron J. Seigo
f8a69d0b45
call setupScriptSupport in the Applet's init()
...
svn path=/trunk/KDE/kdelibs/; revision=980825
2009-06-12 15:20:54 +00:00
Aaron J. Seigo
1e4a7ee457
sort these out so we can look at them later for possible streamlining
...
svn path=/trunk/KDE/kdelibs/; revision=979909
2009-06-10 18:28:17 +00:00
Aaron J. Seigo
4662d3d7cd
erg, apparently i hit "x" on the way out of vim after testing but before commiting :(
...
svn path=/trunk/KDE/kdelibs/; revision=979519
2009-06-10 02:16:19 +00:00
Aaron J. Seigo
5dd5576d60
destroy the message overay proxy widget if it exists and we get rid of the message overlay
...
svn path=/trunk/KDE/kdelibs/; revision=979518
2009-06-10 02:12:29 +00:00
Aaron J. Seigo
968f969f89
if the popup is the extender, show the configuration overlay on the main applet
...
svn path=/trunk/KDE/kdelibs/; revision=977938
2009-06-05 16:23:48 +00:00
Chani Armitage
81244eb86a
okay, make it const
...
svn path=/trunk/KDE/kdelibs/; revision=976922
2009-06-03 01:10:57 +00:00
Chani Armitage
2d2aef5930
isAllowed -> hasAuthorization
...
svn path=/trunk/KDE/kdelibs/; revision=976800
2009-06-02 17:25:30 +00:00
Petri Damstén
9511f6f429
Set catalog name for scripted plasmoids
...
svn path=/trunk/KDE/kdelibs/; revision=974548
2009-05-29 16:41:06 +00:00
Aaron J. Seigo
53d2c9970a
make a config dialog even if the applet has a package and a config.xml but lacks a config.ui
...
svn path=/trunk/KDE/kdelibs/; revision=973264
2009-05-26 18:04:02 +00:00
Aaron J. Seigo
376de3b3b7
be more careful with our configChanged signals
...
svn path=/trunk/KDE/kdelibs/; revision=973255
2009-05-26 17:32:33 +00:00
Aaron J. Seigo
09e4b24817
make it possible to add custom (e.g. application specific) applet categories
...
CCMAIL:oszkar.ambrus@deri.org
svn path=/trunk/KDE/kdelibs/; revision=969430
2009-05-18 11:15:00 +00:00
Chani Armitage
bac10ee82b
change X-Plasma-Requires-<foo> to be a string (Required/Optional/Unused) instead of a bool.
...
now I can tell the difference between something that will only use a feature when allowed, and something that doesn't care about that feature at all.
svn path=/trunk/KDE/kdelibs/; revision=967779
2009-05-13 23:28:00 +00:00
Aaron J. Seigo
ec65d08748
SVN_SILENT: random ws improvements made while debugging various issues
...
svn path=/trunk/KDE/kdelibs/; revision=966511
2009-05-11 09:32:19 +00:00
Marco Martin
359dc82a14
when the applet is busy can still be interacted with the mouse
...
svn path=/trunk/KDE/kdelibs/; revision=964935
2009-05-07 17:13:17 +00:00
Chani Armitage
233e220ad9
safer way of creating actions, according to mjansen
...
svn path=/trunk/KDE/kdelibs/; revision=963095
2009-05-03 22:13:05 +00:00
Chani Armitage
c756fd29c4
configurable keyboard shortcuts
...
svn path=/trunk/KDE/kdelibs/; revision=963051
2009-05-03 20:22:14 +00:00
Aaron J. Seigo
20f309487d
add generic script package support for included translations
...
svn path=/trunk/KDE/kdelibs/; revision=962208
2009-05-01 18:31:14 +00:00
Aaron J. Seigo
b8e1aab84d
use the Categories again, but mark the known ones for translation. all unknown categories will get relegated into the misc category
...
svn path=/trunk/KDE/kdelibs/; revision=962198
2009-05-01 18:03:13 +00:00
Aaron J. Seigo
0b5c4e1947
use Keywords instead of X-KDE-PluginInfo-Category so we can be translated and even support multiple categories!
...
svn path=/trunk/KDE/kdelibs/; revision=961933
2009-05-01 05:36:50 +00:00
Aaron J. Seigo
8ca16ac404
assigning the variable is a good, he says to himself.
...
svn path=/trunk/KDE/kdelibs/; revision=960162
2009-04-28 02:21:49 +00:00
Aaron J. Seigo
8587298f41
connect the activate() signal sooner
...
svn path=/trunk/KDE/kdelibs/; revision=959934
2009-04-27 15:23:53 +00:00
Aaron J. Seigo
3c240aa807
append a '/' if needed
...
svn path=/trunk/KDE/kdelibs/; revision=959336
2009-04-26 03:15:25 +00:00
Aaron J. Seigo
d4c7994472
allow loading applets from packages directly
...
svn path=/trunk/KDE/kdelibs/; revision=959317
2009-04-26 00:43:20 +00:00
Richard Dale
4bb4a0839e
* Allow scripting PopupApplets to be created if the metadata.desktop for the
...
applet has a 'ServiceTypes=Plasma/PopupApplet' line
CCMAIL: kde-bindings@kde.org
svn path=/trunk/KDE/kdelibs/; revision=958044
2009-04-23 10:54:45 +00:00
Aaron J. Seigo
7df3fb6228
don't bother making or destroying busy widgets/overlays if we're already in the right busy state
...
svn path=/trunk/KDE/kdelibs/; revision=954122
2009-04-15 07:29:23 +00:00