/[ascend]/trunk/pygtk/gtkbrowser.py
ViewVC logotype

Diff of /trunk/pygtk/gtkbrowser.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2445 by jpye, Sat Mar 26 00:44:44 2011 UTC revision 2446 by jpye, Mon Apr 4 04:26:53 2011 UTC
# Line 540  class Browser: Line 540  class Browser:
540          import console          import console
541          console.create_widget(self)          console.create_widget(self)
542    
543            import locale
544            if locale.localeconv()['decimal_point'] != '.':
545                self.reporter.reportError(
546    """Incompatible locale settings detected. Please set your system local to one which
547    uses '.' as the decimal point separator, such as en_US or en_AU. Note that failing
548    to make this change will cause input and output values to be truncated.
549    For details, see http://ascendbugs.cheme.cmu.edu/view.php?id=337"""
550                )
551    
552      def run(self):      def run(self):
553          self.window.show()          self.window.show()
554          loading.print_status("ASCEND is now running")          loading.print_status("ASCEND is now running")

Legend:
Removed from v.2445  
changed lines
  Added in v.2446

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22