[tomboy-list] converting Plugins to Addins
Sanford Armstrong
sanfordarmstrong at gmail.com
Wed Sep 12 22:10:09 PDT 2007
The compiler is telling you to check out line 30. Try removing the ":
base()" in the constructor method signature. Sorry I don't have time
to mess with it more thoroughly right now. Have fun!
Sandy
On 9/12/07, Matt Price <matt.price at utoronto.ca> wrote:
> Hi,
>
> i'm new to tomboy and to C# (in fact, not much of a coder at all) and am
> trying to use the TasksList plugin with the version of tomboy that ships
> with ubuntu gutsy (currently 0.7.7). This isn't the
> currently-switched-off task functionality you've been working on, but a
> much less ambitious third-party plugin:
> http://www.ediweissmann.com/taskslist/
> though ignorant of c# i tried following the instructions at
> http://live.gnome.org/Tomboy/HowToCreateAddins
> but am unable to compile the addin. The error message, which is
> produced immediately, is :
>
> $ gmcs -debug -out:TasksList.dll -target:library -pkg:tomboy-addins
> -r:Mono.Posix TasksList.cs -resource:TasksList.addin.xml
> TasksList.cs(30,24): error CS1520: Class, struct, or interface method
> must have a return type
> Compilation failed: 1 error(s), 0 warnings
>
> ----
> so i guess there's a syntax error somewhere. i've attached the .cs
> and .xml files; is the error obvious to y'all? All help much
> appreciated.
>
> I might add that one reason i want this is to get better syncing with
> evolution -- i'm hoping i can copy some of the Evolution plugin code to
> generate a ToDo item out of this plugin's todo note, and eventually i'd
> also like to be able to attach other kinds of evolution objects to notes
> -- contacts especially. And if i could get the Reminder plugin to
> compile as an addin, it would be nice to use that plugin to generate a
> little calendar in evolution... i'd just like to see a more complete
> integration of my desktop tools.
>
> anyway, thanks much,
>
> matt
>
>
> --
> Matt Price
> History Dept
> University of Toronto
> matt.price at utoronto.ca
>
> _______________________________________________
> Tomboy-list mailing list
> Tomboy-list at lists.beatniksoftware.com
> http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com
>
>
>
More information about the Tomboy-list
mailing list