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 |
|
|