Browse Source

wxGUI location wizard: map picture removed (#657)

Picture removed from wizard as it's unnecessary clutter and unrelated to the content of the pages.
Figure loc_wizard_qgis.png also removed.
Linda Kladivova 4 years ago
parent
commit
fa3ffb7dfc
2 changed files with 4 additions and 12 deletions
  1. BIN
      gui/images/loc_wizard_qgis.png
  2. 4 12
      gui/wxpython/location_wizard/wizard.py

BIN
gui/images/loc_wizard_qgis.png


+ 4 - 12
gui/wxpython/location_wizard/wizard.py

@@ -2284,13 +2284,6 @@ class LocationWizard(wx.Object):
         self.parent = parent
 
         #
-        # define wizard image
-        #
-        imagePath = os.path.join(globalvar.IMGDIR, "loc_wizard_qgis.png")
-        wizbmp = wx.Image(imagePath, wx.BITMAP_TYPE_PNG)
-        wizbmp = wizbmp.ConvertToBitmap()
-
-        #
         # get georeferencing information from tables in $GISBASE/etc
         #
         self.__readData()
@@ -2314,8 +2307,7 @@ class LocationWizard(wx.Object):
         self.wizard = WizardWithHelpButton(
             parent,
             id=wx.ID_ANY,
-            title=_("Define new GRASS Location"),
-            bitmap=wizbmp)
+            title=_("Define new GRASS Location"))
         self.wizard.Bind(wiz.EVT_WIZARD_HELP, self.OnHelp)
 
         self.startpage = DatabasePage(self.wizard, self, grassdatabase)
@@ -2707,13 +2699,13 @@ class LocationWizard(wx.Object):
 
 class WizardWithHelpButton(Wizard):
 
-    def __init__(self, parent, id, title, bitmap):
+    def __init__(self, parent, id, title):
         if globalvar.wxPythonPhoenix:
             Wizard.__init__(self)
             self.SetExtraStyle(wx.adv.WIZARD_EX_HELPBUTTON)
-            self.Create(parent=parent, id=id, title=title, bitmap=bitmap)
+            self.Create(parent=parent, id=id, title=title)
         else:
             pre = wiz.PreWizard()
             pre.SetExtraStyle(wx.wizard.WIZARD_EX_HELPBUTTON)
-            pre.Create(parent=parent, id=id, title=title, bitmap=bitmap)
+            pre.Create(parent=parent, id=id, title=title)
             self.PostCreate(pre)