[Chandler-dev] review request: bug 7031 (Detail view displays
read-write icon when the item is read only (and visa versa))
Reid Ellis
rae at osafoundation.org
Sat Oct 14 14:15:26 PDT 2006
Another fairly simple one for bug 7031 <https://
bugzilla.osafoundation.org/show_bug.cgi?id=7031>. There was a
confusion about what "stamped" means for read-only.
A review wold be appreciated:
https://bugzilla.osafoundation.org/attachment.cgi?id=2711&action=edit
Here it is.
Index: parcels/osaf/views/detail/detail.py
===================================================================
--- parcels/osaf/views/detail/detail.py (revision 12030)
+++ parcels/osaf/views/detail/detail.py (working copy)
@@ -510,7 +510,7 @@
checked = self.item is not None and \
(self.item.getSharedState() == ContentItem.READONLY)
self.widget.SetState("%s.%s" % (self.icon,
- checked and "Stamped" or "Unstamped"))
+ checked and "Unstamped" or "Stamped"))
def onButtonPressedEvent(self, event):
# We don't actually allow the read only state to be toggled
More information about the chandler-dev
mailing list