[Qgis-developer] Plugin menu
Borys Jurgiel
borys at wolf.most.org.pl
Tue Jul 22 05:32:01 EDT 2008
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugin_inserting.diff
Type: text/x-diff
Size: 269 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080722/b8496d36/plugin_inserting.bin
More information about the Qgis-developer
mailing list