[GRASS-SVN] r57085 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 13 09:36:56 PDT 2013


Author: martinl
Date: 2013-07-13 09:36:56 -0700 (Sat, 13 Jul 2013)
New Revision: 57085

Modified:
   grass/trunk/gui/wxpython/gui_core/preferences.py
Log:
wxGUI: be less verbose when saving settings (cosmetics)


Modified: grass/trunk/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/preferences.py	2013-07-13 16:28:36 UTC (rev 57084)
+++ grass/trunk/gui/wxpython/gui_core/preferences.py	2013-07-13 16:36:56 UTC (rev 57085)
@@ -50,6 +50,7 @@
 from core.settings import UserSettings
 from gui_core.dialogs import SymbolDialog
 from gui_core.widgets import IntegerValidator
+from core.debug       import Debug
 
 class PreferencesBaseDialog(wx.Dialog):
     """!Base preferences dialog"""
@@ -175,7 +176,7 @@
                 self.settings.Set(group = 'language', key = 'locale', subkey = 'lc_all', value = 'C')
                 lang = 'C'
             self.settings.SaveToFile()
-            self._giface.WriteLog(_('Settings saved to file \'%s\'.') % self.settings.filePath)
+            Debug.msg(1, "Settings saved to file '%s'" % self.settings.filePath)
             if lang:
                 StoreEnvVariable(key = 'LANG', value = lang)
             else:



More information about the grass-commit mailing list