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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-06-10 15:50:23 UTC
  • mfrom: (195.1.26 browse-remote-branches)
  • Revision ID: szilveszter.farkas@gmail.com-20070610155023-o3moy5a3wrp9o412
Merge browse-remote-branches branch (experimental).

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
class BranchDialog(gtk.Dialog):
39
39
    """ New implementation of the Branch dialog. """
40
 
    def __init__(self, path=None, parent=None):
 
40
    def __init__(self, path=None, parent=None, remote_path=None):
41
41
        """ Initialize the Branch dialog. """
42
42
        gtk.Dialog.__init__(self, title="Branch - Olive",
43
43
                                  parent=parent,
91
91
        self.vbox.set_spacing(3)
92
92
        if self.path is not None:
93
93
            self._filechooser.set_filename(self.path)
 
94
        if remote_path is not None:
 
95
            self._combo.child.set_text(remote_path)
94
96
        
95
97
        # Pack some widgets
96
98
        self._hbox_revision.pack_start(self._entry_revision, True, True)