def on_add_iscsi_clicked(self, widget, *args): dialog = ISCSIDialog(self.data, self.storage) with enlightbox(self.window, dialog.window): dialog.refresh() dialog.run() # We now need to refresh so any new disks picked up by adding advanced # storage are displayed in the UI. self.refresh()
def on_add_iscsi_clicked(self, widget, *args): dialog = ISCSIDialog(self.data, self.storage) self._run_dialog_and_refresh(dialog)
def on_add_iscsi_clicked(self, widget, *args): log.debug("Add a new iSCSI device.") dialog = ISCSIDialog(self.data) self._run_dialog_and_refresh(dialog)