/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to branchview/graphcell.py

  • Committer: Curtis Hovey
  • Date: 2011-09-03 13:46:52 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110903134652-foz5thvhwg0kcolr
RemovedĀ unusedĀ code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        else:
66
66
            raise AttributeError, "no such property: '%s'" % property.name
67
67
 
 
68
    def do_get_property(self, property):
 
69
        """Set properties from GObject properties."""
 
70
        if property.name == "node":
 
71
            return self.node
 
72
        elif property.name == "tags":
 
73
            return self.tags
 
74
        elif property.name == "in-lines":
 
75
            return self.in_lines
 
76
        elif property.name == "out-lines":
 
77
            print "get outlines"
 
78
            return self.out_lines
 
79
        else:
 
80
            raise AttributeError, "no such property: '%s'" % property.name
 
81
 
68
82
    def box_size(self, widget):
69
83
        """Calculate box size based on widget's font.
70
84