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

  • Committer: Jelmer Vernooij
  • Date: 2008-03-14 02:13:27 UTC
  • mto: (452.2.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 453.
  • Revision ID: jelmer@samba.org-20080314021327-q1pabtpneeasz8qv
Fix support for default value in BranchSelectionDialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
        self.mail_to = gtk.ComboBoxEntry()
80
80
        mail_to = self.branch.get_config().get_user_option('submit_to')
81
 
        if mail_to is None:
82
 
            submit_branch = self.submit_branch.get_branch()
83
 
            if submit_branch is not None:
84
 
                mail_to = submit_branch.get_config().get_user_option(
85
 
                            'child_submit_to')
86
81
        if mail_to is not None:
87
82
            self.mail_to.get_child().set_text(mail_to)
88
83
        table.attach(self.mail_to, 1, 2, 2, 3, gtk.FILL, gtk.FILL)