示例#1
0
文件: filter.py 项目: Jakuje/anaconda
    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()
示例#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()
示例#3
0
 def on_add_dasd_clicked(self, widget, *args):
     dialog = DASDDialog(self.data, self.storage)
     self._run_dialog_and_refresh(dialog)
示例#4
0
 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)