[GTKUI] Fix sensitivity of indicator radio buttons
This commit is contained in:
parent
e883bbf10b
commit
438d49be85
|
@ -813,6 +813,7 @@ and daemon (does not apply in Standalone mode).</property>
|
||||||
<property name="label" translatable="yes">App Indicator</property>
|
<property name="label" translatable="yes">App Indicator</property>
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">False</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
<property name="sensitive">False</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="receives_default">False</property>
|
<property name="receives_default">False</property>
|
||||||
<property name="draw_indicator">True</property>
|
<property name="draw_indicator">True</property>
|
||||||
|
@ -830,6 +831,7 @@ and daemon (does not apply in Standalone mode).</property>
|
||||||
<property name="label" translatable="yes">Systray</property>
|
<property name="label" translatable="yes">Systray</property>
|
||||||
<property name="use_action_appearance">False</property>
|
<property name="use_action_appearance">False</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
<property name="sensitive">False</property>
|
||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="receives_default">False</property>
|
<property name="receives_default">False</property>
|
||||||
<property name="active">True</property>
|
<property name="active">True</property>
|
||||||
|
|
|
@ -848,7 +848,9 @@ class Preferences(component.Component):
|
||||||
"spin_port_max": False},
|
"spin_port_max": False},
|
||||||
"chk_random_outgoing_ports": {"spin_outgoing_port_min": False,
|
"chk_random_outgoing_ports": {"spin_outgoing_port_min": False,
|
||||||
"spin_outgoing_port_max": False},
|
"spin_outgoing_port_max": False},
|
||||||
"chk_use_tray": {"chk_min_on_close": True,
|
"chk_use_tray": {"radio_appind": True,
|
||||||
|
"radio_systray": True,
|
||||||
|
"chk_min_on_close": True,
|
||||||
"chk_start_in_tray": True,
|
"chk_start_in_tray": True,
|
||||||
"alignment_tray_type": True,
|
"alignment_tray_type": True,
|
||||||
"chk_lock_tray": True},
|
"chk_lock_tray": True},
|
||||||
|
|
|
@ -87,7 +87,7 @@ class QueuedTorrents(component.Component):
|
||||||
for torrent in self.queue:
|
for torrent in self.queue:
|
||||||
if deluge.common.is_magnet(torrent):
|
if deluge.common.is_magnet(torrent):
|
||||||
magnet = deluge.common.get_magnet_info(torrent)
|
magnet = deluge.common.get_magnet_info(torrent)
|
||||||
row = self.liststore.append([magnet["name"], torrent])
|
self.liststore.append([magnet["name"], torrent])
|
||||||
else:
|
else:
|
||||||
self.liststore.append([os.path.split(torrent)[1], torrent])
|
self.liststore.append([os.path.split(torrent)[1], torrent])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue