Ver código fonte

wxGUI: fix d.northarrow thumbnail selection widget - change of directory structure was not reflected (merge from trunk, https://trac.osgeo.org/grass/changeset/62642)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62643 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 10 anos atrás
pai
commit
cf0d89b5c2
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      gui/wxpython/gui_core/widgets.py

+ 2 - 2
gui/wxpython/gui_core/widgets.py

@@ -1346,8 +1346,8 @@ class BarscalesComboBox(PictureComboBox):
 class NArrowsComboBox(PictureComboBox):
     """!ComboBox with north arrows for d.barscale."""
     def _getPath(self, name):
-        path = os.path.join(os.getenv("GISBASE"), "etc", "gui", "images",
-                                      'symbols', 'n_arrows')
+        path = os.path.join(os.getenv("GISBASE"), "gui", "images",
+                            'symbols', 'n_arrows')
         try:
             int(name[0])
             return os.path.join(path, 'n_arrow{name}.png'.format(name=name))