Fix threading usage in the connectedevice widget
This commit is contained in:
parent
94c24fdb49
commit
1c4fc94999
|
|
@ -100,6 +100,9 @@ glib-compile-schemas $XDG_DATA_HOME/glib-2.0/schemas
|
||||||
update-desktop-database $XDG_DATA_HOME/applications
|
update-desktop-database $XDG_DATA_HOME/applications
|
||||||
gtk-update-icon-cache
|
gtk-update-icon-cache
|
||||||
|
|
||||||
|
# refresh bash session so new commands in the PATH are available
|
||||||
|
hash -r
|
||||||
|
|
||||||
# set up the XR driver using the local binary
|
# set up the XR driver using the local binary
|
||||||
echo "Installing xrDriver"
|
echo "Installing xrDriver"
|
||||||
echo "BEGIN - xr_driver_setup"
|
echo "BEGIN - xr_driver_setup"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 91a5d65c57a63a8003ef4f8a2c36bc519104d54c
|
Subproject commit 4ab77f09b1ac574e9dfa7f9bf29c9ba478b721d9
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit e6ec3e309e63608552becff694e5f3c9d1e5bcc3
|
Subproject commit c3b0ddab302e11e517b57b621ff334faf03173de
|
||||||
|
|
@ -137,7 +137,8 @@ class ConnectedDevice(Gtk.Box):
|
||||||
if enabled != self.effect_enable_switch.get_active():
|
if enabled != self.effect_enable_switch.get_active():
|
||||||
self.effect_enable_switch.set_active(enabled)
|
self.effect_enable_switch.set_active(enabled)
|
||||||
|
|
||||||
self._refresh_enabled_state_thread = threading.Timer(1.0, self._refresh_enabled_state).start()
|
self._refresh_enabled_state_thread = threading.Timer(1.0, self._refresh_enabled_state)
|
||||||
|
self._refresh_enabled_state_thread.start()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"_refresh_enabled_state {e}")
|
logger.error(f"_refresh_enabled_state {e}")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue