Re: Desktop Slideshow Settings

2010-12-08 Thread Aaron J. Seigo
On Tuesday, December 7, 2010, Steven Sroka wrote:
 In kdebase/workspace/libs/plasmagenericshell/backgrounddialog.cpp, what
 happens in BackgroundDialog::saveConfig() specifically?
 
 In general, I know that the wallpaper/mouse settings are saved and the last
 'if' statement forces the wallpaper to change. But, what does the code
 above the last 'if' statement *specifically* do?

saveConfig() does the following:

* determine what the names of the wallpaper and containment plugins are (first 
three lines)

* if the containment plugin is changing (e.g. desktop - folderview) then 
create the new containment, swap it with the current one (that includes 
ensuring the mouse actions and wallpaper go with it)

* save the settings of the wallpaper configuration (d-wallpaper is an 
instance of the wallpaper plugin in the dialog, not in the containment)

* have the containment re-load the wallpaper settings by calling setWallpaper 
(which has that side effect)

* reset the modified state (and therefore the Apply button, etc)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Declarative appletscript: last touches

2010-12-08 Thread Aaron J. Seigo
On Wednesday, December 8, 2010, Marco Martin wrote:
 import ../../generic/ui/

i take it that ../../generic/ui/ has to be a string literal in the QML file? 
and that it doesn't accept URLs (thereby going through the network access 
implementation)? if so, that would seem to be a major flaw in QML as it 
currently stands.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Declarative appletscript: last touches

2010-12-08 Thread Aaron J. Seigo
On Wednesday, December 8, 2010, Marco Martin wrote:
 On Thursday 09 December 2010, Aaron J. Seigo wrote:
  On Wednesday, December 8, 2010, Marco Martin wrote:
   import ../../generic/ui/
  
  i take it that ../../generic/ui/ has to be a string literal in the QML
  file? and that it doesn't accept URLs (thereby going through the network
  access implementation)? if so, that would seem to be a major flaw in QML
  as it currently stands.
 
 it is possible, however only for full folders.
 now i'm using a way i didn't tought before:
 
 import plasmapackage:/ui/MeegoComponents
 
 in generic/ui there will be a MeegoComponents subfolder (in this case a
 qmldirs file listing everything is needed) that folder will have a
 fallback. it's better than nothing but still not overly pretty.

and we can always improve the underneath later, what's more important is 
having a non-fugly-api for the plasmoids we have to support forever on.

sounds like a reasonable compromise.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Declarative appletscript: last touches

2010-12-08 Thread Artur Duque de Souza
Hey Marco!

On Thursday 09 December 2010 00:32:44 Marco Martin wrote:
 import plasmapackage:/ui/MeegoComponents
 
 in generic/ui there will be a MeegoComponents subfolder (in this case a
 qmldirs file listing everything is needed) that folder will have a fallback.
 it's better than nothing but still not overly pretty.

This one seems the best so far? :)
I'll try to brainstorm something but it seems you already spent a lot of time 
thinking about this issue. If I would need to choose between the 4 options 
that you gave, I would take the last one (the one above), even if it needs the 
qmldir file.

Cheers!


-- 
---
Artur Duque de Souza - MoRpHeUz
---
http://claimid.com/morpheuz
Blog: http://blog.morpheuz.cc
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
---

signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


First try on Git repo for kdebase-workspace

2010-12-08 Thread Ian Monroe
http://gitweb.kde.org/scratch/ianmonroe/kdebase-workspace.git

Clone it or just inspect it out on the gitweb and let me know if there
are any suggestions or concerns. Thanks.

Btw: you all should probably figure out what you want your repository
names to be, if not you'll get names like kdebase-workspace.

- Ian Monroe
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: First try on Git repo for kdebase-workspace

2010-12-08 Thread Aaron J. Seigo
On Wednesday, December 8, 2010, Ian Monroe wrote:
 http://gitweb.kde.org/scratch/ianmonroe/kdebase-workspace.git
 
 Clone it or just inspect it out on the gitweb and let me know if there
 are any suggestions or concerns. Thanks.
 
 Btw: you all should probably figure out what you want your repository
 names to be, if not you'll get names like kdebase-workspace.

kde-fluffybunny? ;)

i'll check out the repo tomorrow and report back.. awesome to see it coming 
together.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel