文件操作 - nvdimm.glade
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/anaconda/ui/spokes/advstorage/nvdimm.glade
编辑文件内容
<?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.3 --> <interface> <requires lib="gtk+" version="3.20"/> <object class="GtkDialog" id="nvdimmDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> <property name="resizable">False</property> <property name="modal">True</property> <property name="type_hint">dialog</property> <property name="decorated">False</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">2</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action-area1"> <property name="can_focus">False</property> <property name="layout_style">end</property> <child> <object class="GtkButton" id="cancelButton"> <property name="label" translatable="yes" context="GUI|Advanced Storage|NVDIMM|Reconfigure">_Cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkButton" id="okButton"> <property name="label">gtk-ok</property> <property name="visible">True</property> <property name="sensitive">False</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_stock">True</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="pack_type">end</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_right">5</property> <property name="row_spacing">6</property> <property name="column_spacing">6</property> <child> <object class="GtkLabel" id="infoLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="margin_bottom">6</property> <property name="label" translatable="yes">The following NVDIMM devices selected from the list will be reconfigured to sector mode:</property> <property name="wrap">True</property> <property name="xalign">0</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> <property name="width">2</property> </packing> </child> <child> <object class="GtkLabel" id="sectorSizeLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">end</property> <property name="label" translatable="yes" context="GUI|Advanced Storage|NVDIMM|Reconfigure">_Sector size:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">sectorSizeCombo</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">3</property> </packing> </child> <child> <object class="GtkNotebook" id="conditionNotebook"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="valign">center</property> <property name="show_tabs">False</property> <property name="show_border">False</property> <child> <object class="GtkButton" id="startButton"> <property name="label" translatable="yes" context="GUI|Advanced Storage|NVDIMM|Reconfigure">Start _Reconfiguration</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="halign">center</property> <property name="valign">center</property> <property name="vexpand">True</property> <property name="use_underline">True</property> <signal name="clicked" handler="on_start_clicked" swapped="no"/> </object> </child> <child type="tab"> <placeholder/> </child> <child> <object class="GtkBox" id="waitBox"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">center</property> <property name="spacing">5</property> <child> <object class="GtkSpinner" id="reconfigureSpinner"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="active">True</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="reconfiguringLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Reconfiguring NVDIMM devices. This may take a moment...</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="position">1</property> </packing> </child> <child type="tab"> <placeholder/> </child> <child> <object class="GtkGrid" id="errorBox"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">center</property> <property name="row_spacing">6</property> <property name="column_spacing">6</property> <child> <object class="GtkImage" id="image3"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> <property name="icon_name">dialog-error</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkLabel" id="label14"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Device reconfiguration failed.</property> <property name="xalign">0</property> <attributes> <attribute name="weight" value="bold"/> </attributes> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkLabel" id="deviceErrorLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label">Error message goes here.</property> <property name="xalign">0</property> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">2</property> </packing> </child> <child> <object class="GtkLabel" id="label22"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">The following error occurred reconfiguring NVDIMM devices:</property> <property name="wrap">True</property> <property name="xalign">0</property> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">1</property> </packing> </child> <child> <placeholder/> </child> <child> <placeholder/> </child> </object> <packing> <property name="position">2</property> </packing> </child> <child type="tab"> <placeholder/> </child> <child> <object class="GtkGrid" id="successBox"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">center</property> <property name="row_spacing">6</property> <property name="column_spacing">6</property> <child> <object class="GtkImage" id="image1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">1</property> <property name="icon_name">emblem-default</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkLabel" id="succeededLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="vexpand">True</property> <property name="label" translatable="yes">Devices reconfiguration succeeded.</property> <property name="xalign">0</property> <attributes> <attribute name="weight" value="bold"/> </attributes> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkSpinner" id="repopulateSpinner"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="active">True</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> </packing> </child> <child> <object class="GtkLabel" id="repopulateLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Rescanning disks after reconfiguration. This may take a moment ...</property> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">1</property> </packing> </child> </object> <packing> <property name="position">3</property> </packing> </child> <child type="tab"> <placeholder/> </child> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">4</property> <property name="width">2</property> </packing> </child> <child> <object class="GtkLabel" id="devicesLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> <property name="margin_bottom">12</property> <property name="ellipsize">end</property> <attributes> <attribute name="weight" value="bold"/> </attributes> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> <property name="width">2</property> </packing> </child> <child> <object class="GtkComboBoxText" id="sectorSizeCombo"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="halign">start</property> <property name="hexpand">False</property> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">3</property> </packing> </child> <child> <object class="GtkLabel" id="warningLabel"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Warning: Existing data on reconfigured devices will be lost.</property> <attributes> <attribute name="weight" value="bold"/> </attributes> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">2</property> <property name="width">2</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> </child> <action-widgets> <action-widget response="0">cancelButton</action-widget> <action-widget response="1">okButton</action-widget> </action-widgets> <child> <placeholder/> </child> </object> <object class="GtkTextBuffer" id="textbuffer1"/> </interface>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件