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

  • Committer: Vincent Ladeuil
  • Date: 2010-02-24 08:56:08 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20100224085608-ybyx6m452lc5iua2
Open 0.99.0 for development.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        self.create_items()
41
41
 
42
42
    def create_items(self):
43
 
        from bzrlib import errors
44
43
        item = gtk.CheckMenuItem('_Gateway to LAN')
45
44
        item.connect('toggled', self.toggle_lan_gateway)
46
45
        self.append(item)
50
49
            self.langateway = LanGateway()
51
50
        except ImportError:
52
51
            item.set_sensitive(False)
53
 
        except errors.BzrError:
54
 
            # FIXME: Should only catch errors that indicate a lan-notify 
55
 
            # process is already running.
56
 
            item.set_sensitive(False)
57
52
 
58
53
        item = gtk.CheckMenuItem('Announce _branches on LAN')
59
54
        item.connect('toggled', self.toggle_announce_branches)