/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 tests/test_commit.py

  • Committer: Curtis Hovey
  • Date: 2011-07-31 15:52:43 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110731155243-ln8istmxbryhb4pz
Mechanical changes made by pygi.convert.sh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import os
20
20
 
21
 
import gtk
 
21
from gi.repository import Gtk
22
22
 
23
23
from bzrlib import (
24
24
    branch,
679
679
        def _question_yes(*args, **kwargs):
680
680
            self.questions.append(args)
681
681
            self.questions.append('YES')
682
 
            return gtk.RESPONSE_YES
 
682
            return Gtk.ResponseType.YES
683
683
        dlg._question_dialog = _question_yes
684
684
 
685
685
    def _set_question_no(self, dlg):
688
688
        def _question_no(*args, **kwargs):
689
689
            self.questions.append(args)
690
690
            self.questions.append('NO')
691
 
            return gtk.RESPONSE_NO
 
691
            return Gtk.ResponseType.NO
692
692
        dlg._question_dialog = _question_no
693
693
 
694
694