In Cocoa interface units, added missing @dontwrap decorators where appropriate.

This commit is contained in:
Virgil Dupras 2012-06-06 15:09:38 -04:00
parent 8a86ecee38
commit 8efeab7b40
2 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,7 @@
# which should be included with this package. The terms are also available at
# http://www.hardcoded.net/licenses/bsd_license
from objp.util import dontwrap
from cocoa.inter import PyGUIObject, GUIObjectView
class DeletionOptionsView(GUIObjectView):
@ -19,9 +20,11 @@ class PyDeletionOptions(PyGUIObject):
self.model.direct = direct
#--- model --> view
@dontwrap
def update_msg(self, msg):
self.callback.updateMsg_(msg)
@dontwrap
def show(self):
return self.callback.show()

View File

@ -1,4 +1,4 @@
from objp.util import pyref
from objp.util import pyref, dontwrap
from cocoa.inter import PyGUIObject, GUIObjectView
class IgnoreListDialogView(GUIObjectView):
@ -15,6 +15,7 @@ class PyIgnoreListDialog(PyGUIObject):
self.model.clear()
#--- model --> view
@dontwrap
def show(self):
self.callback.show()