/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: Lucas Shrewsbury
  • Date: 2009-08-24 05:45:14 UTC
  • mto: This revision was merged to the branch mainline in revision 663.
  • Revision ID: rollbak@gmail.com-20090824054514-x5cteatkygzhw1ls
Fix #294632 by adding ignored emblem and correct status.
Fix #417966 by setting not emblem and correcting status.

* nautilus-bzr.py:
(BzrExtension.update_file_info): added check for ignored and unversioned files.

* setup.py: 
(data_files): added ignored emblem image.

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)