[GTKUI] Hide the associate magnet button on OSX

This commit is contained in:
Calum Lind 2014-07-04 20:49:16 +01:00
parent 19bc0fb468
commit 0a7e02bf34

View File

@ -83,6 +83,10 @@ class Preferences(component.Component):
self.builder.get_object("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.builder.get_object("button_associate_magnet").hide()
# Setup the liststore for the categories (tab pages)
self.liststore = gtk.ListStore(int, str)
self.treeview.set_model(self.liststore)