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

  • Committer: Curtis Hovey
  • Date: 2011-08-27 13:02:59 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110827130259-0dgsjuxnfdb0bj9a
Updated RadioButtons to gtk3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
389
389
        # file_label.show()
390
390
        self._files_box.pack_start(file_label, False, True, 0)
391
391
 
392
 
        self._commit_all_files_radio = Gtk.RadioButton(
 
392
        self._commit_all_files_radio = Gtk.RadioButton.new_with_label(
393
393
            None, _i18n("Commit all changes"))
394
394
        self._files_box.pack_start(self._commit_all_files_radio, False, True, 0)
395
395
        self._commit_all_files_radio.show()
396
396
        self._commit_all_files_radio.connect('toggled',
397
397
            self._toggle_commit_selection)
398
 
        self._commit_selected_radio = Gtk.RadioButton(
 
398
        self._commit_selected_radio = Gtk.RadioButton.new_with_label_from_widget(
399
399
            self._commit_all_files_radio, _i18n("Only commit selected changes"))
400
400
        self._files_box.pack_start(self._commit_selected_radio, False, True, 0)
401
401
        self._commit_selected_radio.show()