[Pkg-bazaar-commits] ./bzr-gtk/unstable r449: Use right icons for bzr emblems.
Jelmer Vernooij
jelmer at samba.org
Fri Apr 10 07:44:53 UTC 2009
------------------------------------------------------------
revno: 449
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Mon 2008-03-10 02:36:54 +0100
message:
Use right icons for bzr emblems.
modified:
nautilus-bzr.py
------------------------------------------------------------
revno: 423.13.5
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: nautilus-fix
timestamp: Tue 2008-03-04 22:59:30 +0100
message:
Change emblems to the new emblems submitted by Martin.
modified:
nautilus-bzr.py
-------------- next part --------------
=== modified file 'nautilus-bzr.py'
--- a/nautilus-bzr.py 2008-03-04 18:23:21 +0000
+++ b/nautilus-bzr.py 2008-03-04 21:59:30 +0000
@@ -370,17 +370,17 @@
status = None
if tree.has_filename(path):
- emblem = 'cvs-controlled'
+ emblem = 'bzr-controlled'
status = 'unchanged'
id = tree.path2id(path)
delta = tree.changes_from(tree.branch.basis_tree())
if delta.touches_file_id(id):
- emblem = 'cvs-modified'
+ emblem = 'bzr-modified'
status = 'modified'
for f, _, _ in delta.added:
if f == path:
- emblem = 'cvs-added'
+ emblem = 'bzr-added'
status = 'added'
for of, f, _, _, _, _ in delta.renamed:
@@ -388,11 +388,12 @@
status = 'renamed from %s' % f
elif tree.branch.basis_tree().has_filename(path):
- emblem = 'cvs-removed'
+ emblem = 'bzr-removed'
status = 'removed'
else:
# FIXME: Check for ignored files
status = 'unversioned'
+ emblem = 'bzr-unversioned'
if emblem is not None:
file.add_emblem(emblem)
More information about the Pkg-bazaar-commits
mailing list