[Qgis-developer] Re: Plugin menu

Tim Sutton tim at linfiniti.com
Tue Jul 22 22:30:30 EDT 2008


+1

On 7/22/08, Borys Jurgiel <borys at wolf.most.org.pl> wrote:
> Hi,
> the Installer inserts its item to the plugin menu at second position
> (between
> the Manager and the separator), but then other plugins are inserted at
> positions 2-end in alphabetical order, moving the Installer and the
> separator
> down. It brokes the order and looks bad.
>
> My suggestion is to insert plugins at positions 3-end instead of 2-end. The
> first two positions will be always either "manager,separator"
> or "manager,installer", and the separator will be always on the top of
> order,
> so it's safe and stable. Could we apply this very small change?
>
> --- qgis/src/app/qgisapp.cpp.ORIGINAL    2008-07-22 09:04:53.000000000 +0000
> +++ qgis/src/app/qgisapp.cpp    2008-07-22 08:31:05.000000000 +0000
> @@ -4589 +4589 @@
> -  for (unsigned int i = actions.count()-1; i > 0; --i)
> +  for (unsigned int i = actions.count()-1; i > 1; --i)
>
>


-- 
Tim Sutton
QGIS Project Steering Committee Member - Release  Manager
Visit http://qgis.org for a great open source GIS
openModeller Desktop Developer
Visit http://openModeller.sf.net for a great open source ecological
niche modelling tool
Home Page: http://tim.linfiniti.com
Skype: timlinux
Irc: timlinux on #qgis at freenode.net


More information about the Qgis-developer mailing list