From kde-panel-devel Mon Jul 27 19:43:12 2009 From: "Aaron J. Seigo" Date: Mon, 27 Jul 2009 19:43:12 +0000 To: kde-panel-devel Subject: Re: Plasmate Status Message-Id: <200907271343.13564.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=124872387110209 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1439337227==" --===============1439337227== Content-Type: multipart/signed; boundary="nextPart4609056.xrfLppoPxz"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart4609056.xrfLppoPxz Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Monday 27 July 2009, Diego Casella ([Po]lentino) wrote: > Note that up to now you have to manually setup the working directory by > modifying line 165 in mainwindow.cpp, because > that global variable isn't set yet=20 what's wrong with m_model->package()? > ( actually the projects directories are > saved in $HOME/.kde4/share/apps/plasmate which is not > a good choice imo, if we want to focus on beginner developers... what abo= ut > a $HOME/PlasMate_Projects folder instead? ) the point is that they should never have to worry about where the files are= =2E=20 it's an implementation detail. and polluting the home dir with working data= =20 sets is not great form. > By the way, I need a DataEngine example written in JavaScript, I searched > in TechBase, kde-look.org and in various svn > modules without result. i added the first support for those 2 weeks ago, so it's not a mystery why = you=20 didn't find anything on it ;) i (or someone) still needs to do some binding= s=20 for Service as well so such dataengines can reimplement serviceForSource=20 sanely. > As regards runners, I looked for examples in TechBase and in > kdebase/workspace/plasma/runners, kdeplasma-addons/runners, > kdereview/plasma/runners but I only found c++ sources... So probably > scripting support for runners is not ready now, and I hid > the corresponding button. please don't hide buttons because they don't work. that's what you do for=20 final release only if you don't manage to get them working in the meantime,= =20 but hiding them during development is an awesome way to ensure they never g= et=20 implemented. this is the out of sight, out of mind principle. and yes, it's possible to write runners with ecma script. as soon as it's=20 possible to write something useful with plasmate, i'll do up some examples= =20 using it. ;) =2D-=20 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 Software --nextPart4609056.xrfLppoPxz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkpuA1EACgkQ1rcusafx20Py8gCgrSd19r5st0x5ZZGc0C+m9/kF C2cAn0P+xZrESnWbJyDgMnhgJLaJ0S6h =en6D -----END PGP SIGNATURE----- --nextPart4609056.xrfLppoPxz-- --===============1439337227== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============1439337227==--