/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 checkout.py

  • Committer: Jelmer Vernooij
  • Date: 2007-05-19 16:21:10 UTC
  • mfrom: (195.1.7 trunk)
  • Revision ID: jelmer@samba.org-20070519162110-qw0pkevul1iet036
MergeĀ upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        # Set callbacks
65
65
        self._button_checkout.connect('clicked', self._on_checkout_clicked)
66
66
        self._button_revision.connect('clicked', self._on_revision_clicked)
67
 
        self._combo.connect('changed', self._on_combo_changed)
 
67
        self._combo.child.connect('focus-out-event', self._on_combo_changed)
68
68
        
69
69
        # Create the table and pack the widgets into it
70
70
        self._table = gtk.Table(rows=3, columns=2)
179
179
        
180
180
        self.response(gtk.RESPONSE_OK)
181
181
    
182
 
    def _on_combo_changed(self, widget):
 
182
    def _on_combo_changed(self, widget, event):
183
183
        """ We try to get the last revision if focus lost. """
184
184
        rev = self._get_last_revno()
185
185
        if rev is None: