todos for later

pull/36197/head
Shane Smiskol 4 days ago
parent 3a11d8cca8
commit 3c1c36b648
  1. 2
      system/ui/lib/wifi_manager.py

@ -313,6 +313,7 @@ class WifiManager:
def _get_active_connections(self): def _get_active_connections(self):
return self._router_main.send_and_get_reply(Properties(self._nm).get('ActiveConnections')).body[0][1] return self._router_main.send_and_get_reply(Properties(self._nm).get('ActiveConnections')).body[0][1]
# TODO: use this
def _get_connection_settings(self, conn_path: str) -> dict: def _get_connection_settings(self, conn_path: str) -> dict:
conn_addr = DBusAddress(conn_path, bus_name=NM, interface=NM_CONNECTION_IFACE) conn_addr = DBusAddress(conn_path, bus_name=NM, interface=NM_CONNECTION_IFACE)
reply = self._router_main.send_and_get_reply(new_method_call(conn_addr, 'GetSettings')) reply = self._router_main.send_and_get_reply(new_method_call(conn_addr, 'GetSettings'))
@ -370,6 +371,7 @@ class WifiManager:
if len(self._forgotten): if len(self._forgotten):
self._update_networks() self._update_networks()
# TODO: move the for loop to enqueue_callback
for cb in self._forgotten: for cb in self._forgotten:
self._enqueue_callback(cb) self._enqueue_callback(cb)

Loading…
Cancel
Save