After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 529112 - Write a Gnome Do plugin
Write a Gnome Do plugin
Status: RESOLVED FIXED
Product: hamster-applet
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: hamster-applet-maint
hamster-applet-maint
Depends on: 535863
Blocks:
 
 
Reported: 2008-04-20 20:05 UTC by Toms Bauģis
Modified: 2012-09-24 18:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add some methods for GNOME Do plugin (1.12 KB, patch)
2009-01-29 12:18 UTC, John Carr
none Details | Review

Description Toms Bauģis 2008-04-20 20:05:40 UTC
For those do people, a hamster plugin to gnome-do would be great.
Gnome-Do has plugin system in C or something though, so will have to thing
how to make that possible
Comment 1 Brian Phillips 2008-05-01 13:59:12 UTC
Gnome-Do plugins are typically written in C# but according to https://wiki.ubuntu.com/GnomeDo/BuildingPlugins, you can write them in any language that Mono supports (Python being one of them).

The disclaimer here is that I know next to nothing about C#, Python or Mono but would love to have a gnome-do plugin for hamster :-)
Comment 2 Sandy Armstrong 2008-07-30 13:28:13 UTC
The normal way these plugins are done is that the app offers a dbus interface, and the plugin makes actions available that work by calling methods on that dbus interface.

The people in #gnome-do on freenode are very friendly and helpful.  If, after creating your dbus interface (unless you already have one?), you want help on creating the Do plugin, add a comment here and I'll take a look at it.
Comment 3 Juanje Ojeda 2008-09-28 21:16:08 UTC
We already have a dbus interface. By now it's quite simple, but we could add some methods more if it seems necessary.

Please, have a look at the new code and tell us what we need.

Thank you so much for your help :-)
Comment 4 John Carr 2009-01-29 12:18:44 UTC
Created attachment 127451 [details] [review]
Add some methods for GNOME Do plugin

I guess as a GNOME Do plugin i need to be able to set what im doing and (for autocomplete) be able to get a list of activities.

I need to tidy this up so it supports the same arguments as the storage class, but is this the right place in the API to be poking?

(Tested via d-feet, and seems to do what i expect)
Comment 5 Toms Bauģis 2009-01-29 12:21:19 UTC
Looks good to me, John! 
Comment 6 Ashton Kemerling 2009-04-28 21:41:57 UTC
If those are likely to be the final methods, I can start writing the Gnome-Do plugin, assuming John hasn't started already.
Comment 7 Toms Bauģis 2009-06-16 13:13:25 UTC
Where is my gnome do plugin?! :)

Hahah, nah, just kidding.

Still - what's the status Ashton?
Comment 8 Ashton Kemerling 2009-06-17 02:15:40 UTC
Working on it. The Gnome-Do doesn't have very good documentation, so I'm basically just teaching myself as I go using other plugins as examples. It'll be a little while.
Comment 9 Toms Bauģis 2009-06-18 10:14:32 UTC
it would be interesting to see a draft, plan or a mockup for the whole thing!
Comment 10 Toms Bauģis 2009-09-25 10:24:55 UTC
thought will drop in link to Ashton's work, if anybody's interested:

https://code.launchpad.net/~ashtonkemerling/+junk/hamster-plugin
Comment 11 Ashton Kemerling 2009-10-16 17:50:41 UTC
Hey, sorry I've been off the radar for so long. School started up for me again, and my spare time has disappeared. I'll make another try at completing this, but it'll probably be a few weeks before I even have the time to start again. If anyone wants to take over this bug, feel free to take a look at my code, and use whatever you want.
Comment 12 Toms Bauģis 2012-09-24 18:17:33 UTC
the gnome plugin is still in hamster code but most likely will be split out
if you have new info, feel free to file a bug in github
https://github.com/projecthamster/hamster/issues?state=open