[MonoDevelop] Addin to post to pastebin from within MonoDevelop

Chris Howie cdhowie at gmail.com
Tue Aug 25 11:54:02 EDT 2009


On Sat, Aug 22, 2009 at 5:03 AM, Anirudh<anirudh at anirudhsanjeev.org> wrote:
> I wrote a small addin for MonoDevelop which adds a little option to send the
> contents of a selection or an entire file to Pastebin.

Looks nifty!

> I have put up a screenshot of the addin here - http://imgur.com/WxLQ2.png

If I may make a few suggestions about the visual layout of the dialog:

1. The barrier between the "Code" and "Expiry" options is not clearly
visible.  I'd suggest using comboboxes instead so it's obvious which
control belongs to which label.

2. You don't need to mark radio buttons (or comboboxes) as "required"
-- just set one value active by default and the user will be unable to
deselect them.  The "required" markers are unnecessary visual noise,
IMO.

> 1. The "Copy link" button does not work because I don't know how to use the
> clipboard.

// Untested, but should work according to the docs.
Clipboard clipboard = Clipboard.Get(Gdk.Atom.Intern("CLIPBOARD", false));
clipboard.SetText("foo");

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Monodevelop-list mailing list