mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-17 20:49:02 +00:00
In Cocoa interface units, added missing @dontwrap decorators where appropriate.
This commit is contained in:
parent
8a86ecee38
commit
8efeab7b40
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user