Esempio n. 1
0
    def on_add_zfcp_clicked(self, widget, *args):
        dialog = ZFCPDialog(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()
Esempio n. 2
0
    def on_add_zfcp_clicked(self, widget, *args):
        dialog = ZFCPDialog(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()
Esempio n. 3
0
    def on_add_zfcp_clicked(self, widget, *args):
        dialog = ZFCPDialog(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()
Esempio n. 4
0
 def on_add_zfcp_clicked(self, widget, *args):
     dialog = ZFCPDialog(self.data, self.storage)
     self._run_dialog_and_refresh(dialog)
Esempio n. 5
0
 def on_add_zfcp_clicked(self, widget, *args):
     log.debug("Add a new zFCP device.")
     dialog = ZFCPDialog(self.data)
     self._run_dialog_and_refresh(dialog)