All pastes #399245 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-17 21:37 UTC
rendered paste body
using System;
using System.IO;
using System.Xml;
using Mono.Unix;
using Tomboy;

[PluginInfo(
    "Bulletizer", "0.0.1",
    PluginInfoAttribute.OFFICIAL_AUTHOR,
    "Modernize the bullets in your note",
    WebSite = "http://www.gnome.org/projects/tomboy/"
    )]


    public class Bulletizer : NotePlugin
    {
        Gtk.ImageMenuItem item;
        public Bulletizer()
        {
        }

        protected override void OnNoteOpened()
        {
            // Nothing to do here...
        }

        protected override void Shutdown()
        {
            // Must disconnect the handlers
        }
        protected override void Initialize()
        {
                item = new Gtk.ImageMenuItem(
                Catalog.GetString ("Transform bullets"));
                item.Activated += BulletizeClicked;
                item.Show ();
                AddPluginMenuItem (item);
        }

        void BulletizeClicked(object emitter, EventArgs args)
        {
        }

        void BulletizeNote()
        {
        }
    }