mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
parent
cb8bb5a70e
commit
d14d076989
@ -64,4 +64,9 @@ http://www.hardcoded.net/licenses/bsd_license
|
|||||||
[[self window] close];
|
[[self window] close];
|
||||||
return r == NSOKButton;
|
return r == NSOKButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)setHardlinkOptionEnabled:(BOOL)enabled
|
||||||
|
{
|
||||||
|
[linkTypeRadio setEnabled:enabled];
|
||||||
|
}
|
||||||
@end
|
@end
|
@ -11,6 +11,7 @@ from cocoa.inter import PyGUIObject, GUIObjectView
|
|||||||
class DeletionOptionsView(GUIObjectView):
|
class DeletionOptionsView(GUIObjectView):
|
||||||
def updateMsg_(self, msg: str): pass
|
def updateMsg_(self, msg: str): pass
|
||||||
def show(self) -> bool: pass
|
def show(self) -> bool: pass
|
||||||
|
def setHardlinkOptionEnabled_(self, enabled: bool): pass
|
||||||
|
|
||||||
class PyDeletionOptions(PyGUIObject):
|
class PyDeletionOptions(PyGUIObject):
|
||||||
def setLinkDeleted_(self, link_deleted: bool):
|
def setLinkDeleted_(self, link_deleted: bool):
|
||||||
@ -31,3 +32,6 @@ class PyDeletionOptions(PyGUIObject):
|
|||||||
def show(self):
|
def show(self):
|
||||||
return self.callback.show()
|
return self.callback.show()
|
||||||
|
|
||||||
|
@dontwrap
|
||||||
|
def set_hardlink_option_enabled(self, enabled):
|
||||||
|
self.callback.setHardlinkOptionEnabled_(enabled)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user