/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/application.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/application.py

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

revision 1518 by jonathan, Tue Jul 29 15:04:11 2003 UTC revision 1566 by bh, Fri Aug 8 13:01:30 2003 UTC
# Line 204  class ThubanApplication(wxApp, Publisher Line 204  class ThubanApplication(wxApp, Publisher
204              for layer in map.Layers():              for layer in map.Layers():
205                  if isinstance(layer, RasterLayer) \                  if isinstance(layer, RasterLayer) \
206                      and not Thuban.Model.resource.has_gdal_support():                      and not Thuban.Model.resource.has_gdal_support():
207                      msg = _("The current session contains Image layers,\n" +                      msg = _("The current session contains Image layers,\n"
208                              "but the GDAL library is not available to " +                              "but the GDAL library is not available to "
209                              "draw them.")                              "draw them.")
210                      dlg = wx.wxMessageDialog(None,                      dlg = wx.wxMessageDialog(None,
211                                               msg,                                               msg,
212                                               _("Library not available"),                                               _("Library not available"),
213                                               wx.wxOK | wx.wxICON_INFORMATION)                                               wx.wxOK | wx.wxICON_INFORMATION)
214                      print msg                      print msg

Legend:
Removed from v.1518  
changed lines
  Added in v.1566

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26