Tomboy Firefox Addon and Win32

View: New views
3 Messages — Rating Filter:   Alert me  

Tomboy Firefox Addon and Win32

by Harry-57 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
 
A Tomboy user emailed me regarding the Windows version of Tomboy.  They asked if it was possible for me to make the Tomboy Firefox Addon compatible with the Windows version of Tomboy. 
 
Under Linux I use DBUS to communicate with Tomboy to create notes from within Firefox.  It doesn't look like using DBUS is an option on the Windows version of Tomfox, is there an alternative way to communicate with Tomboy under Windows?
 
Best wishes,
Harry


_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Re: Tomboy Firefox Addon and Win32

by Sandy Armstrong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jun 20, 2009 at 8:45 AM, Harry Coal<harrycoal@...> wrote:

> Hello,
>
> A Tomboy user emailed me regarding the Windows version of Tomboy.  They
> asked if it was possible for me to make the Tomboy Firefox Addon compatible
> with the Windows version of Tomboy.
>
> Under Linux I use DBUS to communicate with Tomboy to create notes from
> within Firefox.  It doesn't look like using DBUS is an option on the Windows
> version of Tomfox, is there an alternative way to communicate with Tomboy
> under Windows?

Not reliably, unfortunately, at this time.  You can use .NET remoting
to access the Tomboy RemoteControl interface (similar to how you would
do it with dbus, though I don't know a command-line tool like
dbus-send you could use), but the big problem is that Tomboy doesn't
seem to process the message until you interact with it again.  This
seems to have something to do with how the gtk+ event loop works, and
I haven't figured out any good work-arounds.

So, for example, you could take some action in your extension which
would cause the same remote procedure calls to occur, but the new note
would not be created until the next you time you hovered over the
Tomboy icon or one of its Windows.

I would love to see this fixed.

And for the record, I am not sure if the same problem exists for the
Mac version of Tomboy at this time.

Sorry for any trouble,
Sandy
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Re: Tomboy Firefox Addon and Win32

by Cyphase-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-06-20 at 08:45 -0700, Harry Coal wrote:

> Hello,
>  
> A Tomboy user emailed me regarding the Windows version of Tomboy.
> They asked if it was possible for me to make the Tomboy Firefox Addon
> compatible with the Windows version of Tomboy.  
>  
> Under Linux I use DBUS to communicate with Tomboy to create notes from
> within Firefox.  It doesn't look like using DBUS is an option on the
> Windows version of Tomfox, is there an alternative way to communicate
> with Tomboy under Windows?

Perhaps Tomboy could set-up some kind of local-only server? Then the
addon could access Tomboy that way. Or for a more hackish solution..
Tomboy could check some directory every X seconds, and the addon would
put new notes there. Actually, doesn't Tomboy now have an add-in to
watch the note directory? I don't know if that works on Windows.
--
Cyphase | www.cyphase.com | Email/Jabber: cyphase@...

"In theory, there is no difference between theory and practice. But, in
practice, there is." - Jan L. A. van de Snepscheut

_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com