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

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2007-05-18 11:09:31 UTC
  • mto: This revision was merged to the branch mainline in revision 201.
  • Revision ID: szilveszter.farkas@gmail.com-20070518110931-eo97taeu5l90hqto
Make the Revision Browser feel faster.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
        m = _urlRE.match(url)
114
114
        if m:
115
115
            proto = m.groupdict()['proto']
116
 
            # FIXME: This should ask the transport or branch rather than 
117
 
            # guessing using regular expressions. JRV 20070714
118
 
            if proto in ('sftp', 'file', 'ftp'):
119
 
                # have write access (most probably)
 
116
            if (proto == 'sftp') or (proto == 'file') or (proto == 'ftp'):
 
117
                # have write acces (most probably)
120
118
                self._image_test.set_from_stock(gtk.STOCK_YES, 4)
121
119
                self._label_test.set_markup(_('<b>Write access is probably available</b>'))
122
120
            else: