/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 19:50:45 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110812195045-y86bmaibs3pw5w6d
Updated buffer.getText() calls and ModifierType enums.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        label = Gtk.Label(label="Highlighting spans:")
49
49
        label.show()
50
50
 
51
 
        self.pack_start(label, False, True, True, 0)
52
 
        self.pack_start(self.combo, False, False, True, 0)
53
 
        self.pack_start(self.entry, False, False, True, 0)
 
51
        self.pack_start(label, expand=False, fill=True)
 
52
        self.pack_start(self.combo, expand=False, fill=False)
 
53
        self.pack_start(self.entry, expand=False, fill=False)
54
54
 
55
55
    def set_to_oldest_span(self, span):
56
56
        """Set the span associated with the "to Oldest Revision" entry."""
98
98
            self.emit("span-changed", model.get_value(iter, SPAN_DAYS_COL))
99
99
 
100
100
    def _activate_custom_span_cb(self, w):
101
 
        self.entry.hide()
 
101
        self.entry.hide_all()
102
102
        self.combo.show()
103
103
 
104
104
        span = float(w.get_text())
178
178
 
179
179
        label = Gtk.Label(label="Days")
180
180
 
181
 
        entry.pack_start(spin, False, False, True, 0)
182
 
        entry.pack_start(label, False, False, True, 0)
 
181
        entry.pack_start(spin, expand=False, fill=False)
 
182
        entry.pack_start(label, expand=False, fill=False)
183
183
 
184
184
        return entry
185
185