Remote applets

2010-01-28 Thread Shantanu Tushar Jha
Recently on IRC someone pointed out that Remote Applets aren't working as
they should and the plasmoidviewer --list-remote ain't working either. For
plasmoidviewer, it was two changed SIGNAL names which I've fixed (patch
attached). Now, plasmoidviewer is able to list the remote applets, but i'm
not able to test if adding actually works.
I tried to share an applet on a 4.4 RC2 system and tried to add it to my
machine (running trunk) but after sometime plasma-desktop crashed. Here is
the terminal output for plasma-desktop http://pastebin.com/m2f8bb5ca and
backtrace at http://pastebin.com/m103e1a99 . Further, I don't know how to
tell plasmoidviewer to load a remote applet.
As I was not able to check it successfully, I was wondering if the the patch
is OK to commit ?

-- 
Shantanu Tushar(UTC +0530)
http://www.shantanutushar.com
Index: main.cpp
===
--- main.cpp	(revision 1081288)
+++ main.cpp	(working copy)
@@ -57,9 +57,9 @@
 : QObject(manager)
 {
 kDebug();
-connect(manager, SIGNAL(remotePlasmoidAdded(Plasma::PackageMetadata)),
+connect(manager, SIGNAL(remoteAppletAnnounced(Plasma::PackageMetadata)),
 this, SLOT(slotServiceAdded(Plasma::PackageMetadata)));
-connect(manager, SIGNAL(remotePlasmoidRemoved(Plasma::PackageMetadata)),
+connect(manager, SIGNAL(remoteAppletUnannounced(Plasma::PackageMetadata)),
 this, SLOT(slotServiceRemoved(Plasma::PackageMetadata)));
 }
 
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Remote applets

2010-01-28 Thread Artur Souza (MoRpHeUz)
On Thu, Jan 28, 2010 at 6:43 AM, Shantanu Tushar Jha
jhahon...@gmail.com wrote:
 backtrace at http://pastebin.com/m103e1a99 . Further, I don't know how to
 tell plasmoidviewer to load a remote applet.

This should work:

plasmoidviewer plasma://192.168.0.1:4000/Timer on mani-pc

Cheers,

-- 
---
Artur Duque de Souza
OpenBossa Research Labs
INdT - Instituto Nokia de Tecnologia
---
Blog: http://labs.morpheuz.eng.br/blog/
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
---
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Remote applets

2010-01-28 Thread Artur Souza (MoRpHeUz)
On Thu, Jan 28, 2010 at 6:43 AM, Shantanu Tushar Jha
jhahon...@gmail.com wrote:
 backtrace at http://pastebin.com/m103e1a99 . Further, I don't know how to
 tell plasmoidviewer to load a remote applet.

This should work:

plasmoidviewer plasma://192.168.0.1:4000/Timer on mani-pc

Cheers,


-- 
---
Artur Duque de Souza
OpenBossa Research Labs
INdT - Instituto Nokia de Tecnologia
---
Blog: http://labs.morpheuz.eng.br/blog/
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
---
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Remote applets

2010-01-28 Thread Aaron J. Seigo
On January 28, 2010, Shantanu Tushar Jha wrote:
 As I was not able to check it successfully, I was wondering if the the
 patch is OK to commit ?

please commit and backport... thanks :)

-- 
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
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Remote applets

2010-01-28 Thread Aaron J. Seigo
On January 28, 2010, Shantanu Tushar Jha wrote:
 I tried to share an applet on a 4.4 RC2 system and tried to add it to my
 machine (running trunk) but after sometime plasma-desktop crashed. Here is
 the terminal output for plasma-desktop http://pastebin.com/m2f8bb5ca and
 backtrace at http://pastebin.com/m103e1a99 . Further, I don't know how to

hm; that backtrace doesn't match either current trunk or 4.4; could you try 
with an updated trunk build of libplasma and plasma-desktop? thanks..


-- 
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
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel