文件操作 - passphrase.glade
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/anaconda/ui/spokes/lib/passphrase.glade
编辑文件内容
<?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.18.3 --> <interface> <requires lib="gtk+" version="3.6"/> <requires lib="AnacondaWidgets" version="1.0"/> <object class="GtkDialog" id="passphrase_dialog"> <property name="can_focus">False</property> <property name="border_width">6</property> <property name="default_width">600</property> <property name="type_hint">dialog</property> <property name="decorated">False</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox3"> <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area3"> <property name="can_focus">False</property> <property name="layout_style">end</property> <child> <object class="GtkButton" id="passphrase_cancel_button"> <property name="label" translatable="yes" context="GUI|Passphrase Dialog">_Cancel</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="halign">end</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="passphrase_save_button"> <property name="label" translatable="yes" context="GUI|Passphrase Dialog">_Save Passphrase</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="can_default">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> <signal name="clicked" handler="on_save_clicked" swapped="no"/> </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="GtkLabel" id="passphrase_dialog_title_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> <property name="ypad">1</property> <property name="label" translatable="yes">DISK ENCRYPTION PASSPHRASE</property> <attributes> <attribute name="weight" value="bold"/> </attributes> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="passphrase_description_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes">You have chosen to encrypt some of your data. You will need to create a passphrase that you will use to access your data when you start your computer.</property> <property name="wrap">True</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">2</property> </packing> </child> <child> <object class="GtkGrid" id="passphrase_grid"> <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="GtkLabel" id="passphrase_entry_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" context="GUI|Passphrase Dialog">_Passphrase:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">passphrase_entry</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkEntry" id="passphrase_entry"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="visibility">False</property> <property name="invisible_char">●</property> <property name="width_chars">32</property> <signal name="activate" handler="on_entry_activated" swapped="no"/> <signal name="changed" handler="on_passphrase_changed" swapped="no"/> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkLabel" id="confirm_entry_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes" context="GUI|Passphrase Dialog">Con_firm:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">confirm_pw_entry</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">3</property> </packing> </child> <child> <object class="GtkEntry" id="confirm_pw_entry"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="visibility">False</property> <property name="invisible_char">●</property> <property name="width_chars">32</property> <signal name="activate" handler="on_entry_activated" swapped="no"/> <signal name="changed" handler="on_passphrase_confirmation_changed" swapped="no"/> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">3</property> </packing> </child> <child> <object class="GtkBox" id="strength_box"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkLevelBar" id="strength_bar"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="max_value">4</property> <property name="mode">discrete</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="strength_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Weak</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">2</property> </packing> </child> <child> <object class="AnacondaLayoutIndicator" id="AnacondaLayoutIndicator1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> <property name="halign">center</property> <property name="label_width">4</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">2</property> </packing> </child> <child> <object class="GtkBox" id="passphrase_warning_box"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkImage" id="passphrase_warning_image"> <property name="can_focus">False</property> <property name="halign">center</property> <property name="icon_name">image-missing</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="passphrase_warning_label"> <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="xalign">0</property> <property name="wrap">True</property> <property name="max_width_chars">1</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> <property name="width">2</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> <property name="position">3</property> </packing> </child> <child> <object class="GtkBox" id="keymap_warning_box"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkImage" id="image2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="icon_name">dialog-warning</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="keymap_warning_label"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Warning: You won't be able to switch between keyboard layouts (from the default one) when you decrypt your disks after install.</property> <property name="wrap">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="position">4</property> </packing> </child> </object> </child> <action-widgets> <action-widget response="0">passphrase_cancel_button</action-widget> <action-widget response="1">passphrase_save_button</action-widget> </action-widgets> </object> </interface>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件