url attribute

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

url attribute

Post by Pako » Sat Feb 19, 2011 4:22 pm

When registering plugin, a url attribute can be entered (inter alia). See for example:

Code: Select all

eg.RegisterPlugin(
    name = "Desktop Remote",
    author = "Bitmonster",
    version = "1.0." + "$LastChangedRevision: 831 $".split()[1],
    canMultiLoad = True,
    url = "http://www.eventghost.net/forum/viewtopic.php?t=513",
    description = "Creates a remote-like desktop window.",
)
I think that so far this attribute is not used at all. And that's a shame.
So I made a very simple improvement. If the url attribute is defined, in the plugin configuration dialog will appear new line:
PluginUrl.gif
PluginUrl.gif (9.51 KiB) Viewed 2857 times
Click on the word here and the browser opens the relevant page.
I ask you:
1. Do you think I should incorporate it into the next build?
2. There are probably a more appropriate wording. Can you suggest some?

Pako

stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: url attribute

Post by stottle » Sat Feb 19, 2011 6:15 pm

Looks like a very nice change, and I think your wording is perfect.

Good work!

Brett

Post Reply