diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py index 149208de1..1de86ef7e 100644 --- a/deluge/ui/gtkui/preferences.py +++ b/deluge/ui/gtkui/preferences.py @@ -66,6 +66,10 @@ class Preferences(component.Component): self.glade.get_widget("image_magnet").set_from_file( deluge.common.get_pixmap("magnet.png")) + # Hide the unused associate magnet button on OSX see: #2420 + if deluge.common.osx_check(): + self.glade.get_widget("button_associate_magnet").hide() + # Setup the liststore for the categories (tab pages) self.liststore = gtk.ListStore(int, str) self.treeview.set_model(self.liststore)