/[thuban]/trunk/thuban/Thuban/Model/layer.py
ViewVC logotype

Diff of /trunk/thuban/Thuban/Model/layer.py

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

revision 381 by jan, Mon Jan 27 14:20:02 2003 UTC revision 382 by jonathan, Tue Jan 28 18:37:35 2003 UTC
# Line 284  class Layer(BaseLayer): Line 284  class Layer(BaseLayer):
284              if color is None:              if color is None:
285                  return "None"                  return "None"
286              return "(%.3f, %.3f, %.3f)" % (color.red, color.green, color.blue)              return "(%.3f, %.3f, %.3f)" % (color.red, color.green, color.blue)
287          items.append(_("Fill: ") + color_string(self.fill))  
288          items.append(_("Outline: ") + color_string(self.stroke))          # layers will always have a classification with at least a NULL data set
289    
290            #items.append((_("Fill: %s") % color_string(self.fill), self.fill))
291            #items.append((_("Outline: %s") % color_string(self.stroke), self.stroke))
292    
293            items.append(self.classification)
294    
295          return (_("Layer '%s'") % self.Title(), items)          return (_("Layer '%s'") % self.Title(), items)
296    

Legend:
Removed from v.381  
changed lines
  Added in v.382

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26