mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
[GTKUI] Hide the associate magnet button on OSX
This commit is contained in:
parent
19bc0fb468
commit
0a7e02bf34
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user