From 9987d335a0cc476a7eecf957b7f634d6d6be3328 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 4 Jul 2014 20:49:16 +0100 Subject: [PATCH] [GTKUI] Hide the associate magnet button on OSX --- deluge/ui/gtkui/preferences.py | 4 ++++ 1 file changed, 4 insertions(+) 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)