~gustav-hartvigsson/bzr-gtk/fix-viz

« back to all changes in this revision

Viewing changes to checkout.py

  • Committer: Curtis Hovey
  • Date: 2011-08-13 01:28:20 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110813012820-r84glt49ss4xnezv
Updated ComboBoxEntry -> Gtk.ComboBox.new_with_entry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        self._button_revision = Gtk.Button('')
47
47
        self._image_browse = Gtk.Image()
48
48
        self._filechooser = Gtk.FileChooserButton(_i18n("Please select a folder"))
49
 
        self._combo = Gtk.ComboBoxEntry()
 
49
        self._combo = Gtk.ComboBox.new_with_entry()
50
50
        self._label_location = Gtk.Label(label=_i18n("Branch location:"))
51
51
        self._label_destination = Gtk.Label(label=_i18n("Destination:"))
52
52
        self._label_nick = Gtk.Label(label=_i18n("Branch nick:"))
112
112
            self._combo_model.append([ item ])
113
113
 
114
114
        self._combo.set_model(self._combo_model)
115
 
        self._combo.set_text_column(0)
 
115
        self._combo.set_entry_text_column(0)
116
116
 
117
117
    def _get_last_revno(self):
118
118
        """ Get the revno of the last revision (if any). """