From 8efeab7b401d813ba7fdf8c3422c0df9c6bec1c1 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Wed, 6 Jun 2012 15:09:38 -0400 Subject: [PATCH] In Cocoa interface units, added missing @dontwrap decorators where appropriate. --- cocoa/inter/deletion_options.py | 3 +++ cocoa/inter/ignore_list_dialog.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cocoa/inter/deletion_options.py b/cocoa/inter/deletion_options.py index 9fa01150..517f7819 100644 --- a/cocoa/inter/deletion_options.py +++ b/cocoa/inter/deletion_options.py @@ -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() diff --git a/cocoa/inter/ignore_list_dialog.py b/cocoa/inter/ignore_list_dialog.py index 3763cae1..4873b2fa 100644 --- a/cocoa/inter/ignore_list_dialog.py +++ b/cocoa/inter/ignore_list_dialog.py @@ -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()