Example #1
0
    def on_reconfigure_nvdimm_clicked(self, widget, *args):
        namespaces = self.pages[PAGE_NVDIMM].get_selected_namespaces()
        dialog = NVDIMMDialog(self.data, self.storage, namespaces)

        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()
Example #2
0
 def on_reconfigure_nvdimm_clicked(self, widget, *args):
     log.debug("Reconfigure a NVDIMM device.")
     namespaces = self._pages[PAGE_NVDIMM].get_selected_namespaces()
     dialog = NVDIMMDialog(self.data, namespaces)
     self._run_dialog_and_refresh(dialog)
Example #3
0
 def on_reconfigure_nvdimm_clicked(self, widget, *args):
     namespaces = self._pages[PAGE_NVDIMM].get_selected_namespaces()
     dialog = NVDIMMDialog(self.data, self.storage, namespaces)
     self._run_dialog_and_refresh(dialog)