def run(self): rc = self.window.run() self.window.destroy() if self._update_devicetree: try_populate_devicetree() return rc
def run(self): rc = self.window.run() self.window.destroy() # We need to call this to get the device nodes to show up # in our devicetree. if self._update_devicetree: try_populate_devicetree() return rc
def on_refresh_clicked(self, widget, *args): log.debug("Refreshing...") try_populate_devicetree() self.refresh()