Code review comment for lp://staging/~elementary-apps/pantheon-files/single-method-construct

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

The elementary code-style document does recommend one file per class but I guess it is not mandatory. Another option would be to have a single class with three construction methods:
new PropertiesLabel.header (string txt)
new PropertiesLabel.key (string txt)
new PropertiesLabel.value (string txt)

I agree the namespace stuff can be left for another branch.

« Back to merge proposal