You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
158 lines
6.9 KiB
158 lines
6.9 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<interface> |
|
<template class="ImportExportKeysSubpage" parent="GtkBox"> |
|
<style> |
|
<class name="form-page"/> |
|
</style> |
|
<property name="orientation">vertical</property> |
|
<child> |
|
<object class="GtkHeaderBar"> |
|
<property name="title-widget"> |
|
<object class="GtkLabel" id="title"> |
|
<property name="single-line-mode">True</property> |
|
<property name="ellipsize">end</property> |
|
<property name="width-chars">5</property> |
|
<style> |
|
<class name="title"/> |
|
</style> |
|
</object> |
|
</property> |
|
<child type="start"> |
|
<object class="GtkButton" id="back"> |
|
<property name="icon-name">go-previous-symbolic</property> |
|
<property name="action-name">win.close-subpage</property> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkScrolledWindow" id="scrolled_window"> |
|
<property name="hscrollbar-policy">never</property> |
|
<property name="propagate-natural-height">True</property> |
|
<property name="vexpand">True</property> |
|
<property name="child"> |
|
<object class="AdwClamp"> |
|
<property name="maximum-size">444</property> |
|
<property name="child"> |
|
<object class="GtkBox" id="box"> |
|
<property name="orientation">vertical</property> |
|
<child> |
|
<object class="GtkBox"> |
|
<style> |
|
<class name="paragraphs"/> |
|
</style> |
|
<property name="orientation">vertical</property> |
|
<child> |
|
<object class="GtkLabel" id="description"> |
|
<style> |
|
<class name="large-line-height"/> |
|
</style> |
|
<property name="label"></property> |
|
<property name="wrap">True</property> |
|
<property name="wrap-mode">word-char</property> |
|
<property name="xalign">0.0</property> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkLabel" id="instructions"> |
|
<style> |
|
<class name="large-line-height"/> |
|
</style> |
|
<property name="label"></property> |
|
<property name="wrap">True</property> |
|
<property name="wrap-mode">word-char</property> |
|
<property name="xalign">0.0</property> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkBox"> |
|
<property name="orientation">vertical</property> |
|
<property name="spacing">12</property> |
|
<child> |
|
<object class="GtkListBox"> |
|
<style> |
|
<class name="boxed-list"/> |
|
</style> |
|
<child> |
|
<object class="AdwPasswordEntryRow" id="passphrase"> |
|
<property name="title" translatable="yes">Passphrase</property> |
|
<signal name="entry-activated" handler="handle_proceed" swapped="yes"/> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkBox" id="confirm_passphrase_box"> |
|
<property name="orientation">vertical</property> |
|
<property name="spacing">6</property> |
|
<child> |
|
<object class="GtkListBox"> |
|
<style> |
|
<class name="boxed-list"/> |
|
</style> |
|
<child> |
|
<object class="AdwPasswordEntryRow" id="confirm_passphrase"> |
|
<property name="title" translatable="yes">Confirm Passphrase</property> |
|
<signal name="entry-activated" handler="handle_proceed" swapped="yes"/> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkRevealer" id="confirm_passphrase_error_revealer"> |
|
<property name="child"> |
|
<object class="GtkLabel" id="confirm_passphrase_error"> |
|
<style> |
|
<class name="caption"/> |
|
</style> |
|
<property name="wrap">True</property> |
|
<property name="wrap-mode">word-char</property> |
|
<property name="xalign">0.0</property> |
|
</object> |
|
</property> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="GtkListBox"> |
|
<style> |
|
<class name="boxed-list"/> |
|
</style> |
|
<child> |
|
<object class="AdwActionRow" id="file_row"> |
|
<property name="title" translatable="yes">File</property> |
|
<property name="subtitle" bind-source="ImportExportKeysSubpage" bind-property="file-path" bind-flags="sync-create"/> |
|
<child> |
|
<object class="GtkButton" id="file_button"> |
|
<property name="label" translatable="yes">Choose…</property> |
|
<property name="valign">center</property> |
|
<signal name="clicked" handler="handle_choose_file" swapped="yes"/> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
</object> |
|
</child> |
|
<child> |
|
<object class="SpinnerButton" id="proceed_button"> |
|
<style> |
|
<class name="row"/> |
|
<class name="suggested-action"/> |
|
</style> |
|
<property name="sensitive">false</property> |
|
<signal name="clicked" handler="handle_proceed" swapped="yes"/> |
|
</object> |
|
</child> |
|
</object> |
|
</property> |
|
</object> |
|
</property> |
|
</object> |
|
</child> |
|
</template> |
|
</interface>
|
|
|