[PyObjC-svn] r2268 - trunk/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/TableModel
[email protected] Tue, 18 Aug 2009 08:37:41 -0500
| Newsgroups | gmane.comp.python.pyobjc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronaldoussoren
Date: Tue Aug 18 08:37:41 2009
New Revision: 2268
Log:
Fix thinko in windowShouldClose_ definition
Modified:
trunk/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/TableModel/TableModel.py
Modified: trunk/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/TableModel/TableModel.py
==============================================================================
--- trunk/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/TableModel/TableModel.py (original)
+++ trunk/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/TableModel/TableModel.py Tue Aug 18 08:37:41 2009
@@ -88,7 +88,6 @@
label = "%s%s: %s" % (word, ("s", "")[len(items) == 1], ", ".join([str(x) for x in items]))
self.label.setStringValue_(label)
- @objc.IBAction
def windowShouldClose_(self, sender):
print "Should Close?"
return 0
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july