/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: Curtis Hovey
  • Date: 2011-09-03 01:25:04 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110903012504-0jr4diz9033g5df2
Menu fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
    def create_items(self):
38
38
        from bzrlib import errors
39
 
        item = Gtk.CheckMenuItem('_Gateway to LAN')
 
39
        item = Gtk.CheckMenuItem.new_with_mnemonic('_Gateway to LAN')
40
40
        item.connect('toggled', self.toggle_lan_gateway)
41
41
        self.append(item)
42
42
        self.append(Gtk.SeparatorMenuItem())
50
50
            # process is already running.
51
51
            item.set_sensitive(False)
52
52
 
53
 
        item = Gtk.CheckMenuItem('Announce _branches on LAN')
 
53
        item = Gtk.CheckMenuItem.new_with_mnemonic(
 
54
            'Announce _branches on LAN')
54
55
        item.connect('toggled', self.toggle_announce_branches)
55
56
        self.append(item)
56
57
        self.append(Gtk.SeparatorMenuItem())