Exemple #1
0
    def on_add_dasd_clicked(self, widget, *args):
        dialog = DASDDialog(self.data, self.storage)

        with self.main_window.enlightbox(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()
Exemple #2
0
    def on_add_dasd_clicked(self, widget, *args):
        dialog = DASDDialog(self.data, self.storage)

        with self.main_window.enlightbox(dialog.window):
            dialog.refresh()
            rc = dialog.run()

        if rc == 1:
            self.skipTo = "StorageSpoke"
            self.on_back_clicked(rc)

        # We now need to refresh so any new disks picked up by adding advanced
        # storage are displayed in the UI.
        self.refresh()
Exemple #3
0
 def on_add_dasd_clicked(self, widget, *args):
     dialog = DASDDialog(self.data, self.storage)
     self._run_dialog_and_refresh(dialog)
 def on_add_dasd_clicked(self, widget, *args):
     log.debug("Add a new DASD device.")
     dialog = DASDDialog(self.data)
     self._run_dialog_and_refresh(dialog)