[GTKUI] Hide the associate magnet button on OSX
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user