account-row: Use delayed state changes for GtkSwitch
When trying to go online/offline we're always waiting for confirmation from the stack (even if it's a timeout) so the delayed pattern is a good choice.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<property name="valign">center</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="active">False</property>
|
||||
<signal name="notify::active" handler="on_online_switched" swapped="yes"/>
|
||||
<signal name="state-set" handler="on_online_switched" swapped="no"/>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user