mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +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
|
# which should be included with this package. The terms are also available at
|
||||||
# http://www.hardcoded.net/licenses/bsd_license
|
# http://www.hardcoded.net/licenses/bsd_license
|
||||||
|
|
||||||
|
from objp.util import dontwrap
|
||||||
from cocoa.inter import PyGUIObject, GUIObjectView
|
from cocoa.inter import PyGUIObject, GUIObjectView
|
||||||
|
|
||||||
class DeletionOptionsView(GUIObjectView):
|
class DeletionOptionsView(GUIObjectView):
|
||||||
@ -19,9 +20,11 @@ class PyDeletionOptions(PyGUIObject):
|
|||||||
self.model.direct = direct
|
self.model.direct = direct
|
||||||
|
|
||||||
#--- model --> view
|
#--- model --> view
|
||||||
|
@dontwrap
|
||||||
def update_msg(self, msg):
|
def update_msg(self, msg):
|
||||||
self.callback.updateMsg_(msg)
|
self.callback.updateMsg_(msg)
|
||||||
|
|
||||||
|
@dontwrap
|
||||||
def show(self):
|
def show(self):
|
||||||
return self.callback.show()
|
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
|
from cocoa.inter import PyGUIObject, GUIObjectView
|
||||||
|
|
||||||
class IgnoreListDialogView(GUIObjectView):
|
class IgnoreListDialogView(GUIObjectView):
|
||||||
@ -15,6 +15,7 @@ class PyIgnoreListDialog(PyGUIObject):
|
|||||||
self.model.clear()
|
self.model.clear()
|
||||||
|
|
||||||
#--- model --> view
|
#--- model --> view
|
||||||
|
@dontwrap
|
||||||
def show(self):
|
def show(self):
|
||||||
self.callback.show()
|
self.callback.show()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user