-
-
Notifications
You must be signed in to change notification settings - Fork 362
wxGUI/toolbars: fix toolbar tools labels #1147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxGUI/toolbars: fix toolbar tools labels #1147
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works for me as expected (that is without the icons for me) and the code looks fine, but I think the labels need to be little more better. I don't think they should be as long as tooltips. They should be more like button texts, but they should be more than just keywords, so probably "Zoom to region" and "Zoom to extent" or something like that (the rest look fine).
d497b92
to
347f5ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some minor comments, they have to do mostly with consistency. Thanks @tmszi :)
Yes you are right, because toolbar tool e.g Zoom out is grass/gui/wxpython/mapdisp/toolbars.py Line 178 in 1c300f6
|
Good! Thanks for the explanation :) I was not sure if it was actually related or not. +1 for merging from my side |
If there is an RC2 for 8.0.1, can this make it into the milestone? Or should we bump up to 8.0.2? |
"This branch has conflicts that must be resolved" In the first place the PR needs to be rebased. |
409dd58
to
9933f71
Compare
@tmszi may this be merged and backported? We are getting close to the releases. |
I tried to cherry-pick backport this but too many merge conflicts arise... |
This is a large change touching many files and many lines while not fixing any critical bugs, so let's not backport it. |
…ed and toolbar menu is created (OSGeo#1147) * wxGUI/animation * wxGUI/datacatalog * wxGUI/example/toolbar * wxGUI/gcp * wxGUI/gmodeler * wxGUI/gui_core/pyedit * wxGUI/gui_core/simplelmgr * wxGUI/gui_core/toolbars * wxGUI/iclass * wxGUI/image2target * wxGUI/iscatt * wxGUI/lmgr * wxGUI/lmgr/toolbars * wxGUI/mapdisp * wxGUI/mapdisplay * wxGUI/mapswipe * wxGUI/modules/histogram * wxGUI/photo2image * wxGUI/psmap * wxGUI/rdigit * wxGUI/rlisetup * wxGUI/vdigit * wxGUI/vnet * wxGUI/wxplot/histogram * wxGUI/wxplot/profile * wxGUI/wxplot/scatter * wxGUIgui/gui_core/simplelmgr
…ed and toolbar menu is created (OSGeo#1147) * wxGUI/animation * wxGUI/datacatalog * wxGUI/example/toolbar * wxGUI/gcp * wxGUI/gmodeler * wxGUI/gui_core/pyedit * wxGUI/gui_core/simplelmgr * wxGUI/gui_core/toolbars * wxGUI/iclass * wxGUI/image2target * wxGUI/iscatt * wxGUI/lmgr * wxGUI/lmgr/toolbars * wxGUI/mapdisp * wxGUI/mapdisplay * wxGUI/mapswipe * wxGUI/modules/histogram * wxGUI/photo2image * wxGUI/psmap * wxGUI/rdigit * wxGUI/rlisetup * wxGUI/vdigit * wxGUI/vnet * wxGUI/wxplot/histogram * wxGUI/wxplot/profile * wxGUI/wxplot/scatter * wxGUIgui/gui_core/simplelmgr
…ed and toolbar menu is created (OSGeo#1147) * wxGUI/animation * wxGUI/datacatalog * wxGUI/example/toolbar * wxGUI/gcp * wxGUI/gmodeler * wxGUI/gui_core/pyedit * wxGUI/gui_core/simplelmgr * wxGUI/gui_core/toolbars * wxGUI/iclass * wxGUI/image2target * wxGUI/iscatt * wxGUI/lmgr * wxGUI/lmgr/toolbars * wxGUI/mapdisp * wxGUI/mapdisplay * wxGUI/mapswipe * wxGUI/modules/histogram * wxGUI/photo2image * wxGUI/psmap * wxGUI/rdigit * wxGUI/rlisetup * wxGUI/vdigit * wxGUI/vnet * wxGUI/wxplot/histogram * wxGUI/wxplot/profile * wxGUI/wxplot/scatter * wxGUIgui/gui_core/simplelmgr
Fixes #1133.
So far, I've only fixed the labels for the Map Display toolbar tools.