/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 annotate/spanselector.py

  • Committer: Curtis Hovey
  • Date: 2011-08-12 20:25:28 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110812202528-4xf4a2t23urx50d2
Updated gst to gtk3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    last_selected = None
40
40
 
41
41
    def __init__(self, homogeneous=False, spacing=6):
42
 
        super(SpanSelector, self).__init__(
43
 
            homogeneous=homogeneous, spacing=spacing)
 
42
        GObject.GObject.__init__(self, homogeneous, spacing)
44
43
 
45
44
        self.model = self._create_model()
46
45
        self.combo = self._create_combobox(self.model)
99
98
            self.emit("span-changed", model.get_value(iter, SPAN_DAYS_COL))
100
99
 
101
100
    def _activate_custom_span_cb(self, w):
102
 
        self.entry.hide()
 
101
        self.entry.hide_all()
103
102
        self.combo.show()
104
103
 
105
104
        span = float(w.get_text())