コード例 #1
0
    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()
コード例 #2
0
 def on_add_iscsi_clicked(self, widget, *args):
     dialog = ISCSIDialog(self.data, self.storage)
     self._run_dialog_and_refresh(dialog)
コード例 #3
0
ファイル: advanced_storage.py プロジェクト: zhoupeng/anaconda
 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)