commit 7be22e36e6cac8893d3d37d2691e8957fd2d2a10 parent 97e25d16f6aab66e9e84a06a90e0ffc022bf0d78 Author: Christian Grothoff <christian@grothoff.org> Date: Thu, 30 Dec 2021 20:49:11 +0100 add missing dialog Diffstat:
| A | contrib/anastasis_gtk_user_sure.glade | | | 255 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 255 insertions(+), 0 deletions(-)
diff --git a/contrib/anastasis_gtk_user_sure.glade b/contrib/anastasis_gtk_user_sure.glade @@ -0,0 +1,255 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.38.2 + +Copyright (C) 2019-2021 Anastasis SARL + +This file is part of anastasis-gtk. + +anastasis-gtk is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +anastasis-gtk is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with anastasis-gtk. If not, see <http://www.gnu.org/licenses/>. + +Author: Christian Grothoff + +--> +<interface> + <requires lib="gtk+" version="3.8"/> + <!-- interface-license-type gplv3 --> + <!-- interface-name anastasis-gtk --> + <!-- interface-description key backup and recovery --> + <!-- interface-copyright 2019-2021 Anastasis SARL --> + <!-- interface-authors Christian Grothoff --> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="stock">gtk-go-back</property> + </object> + <object class="GtkImage" id="image2"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="stock">gtk-ok</property> + </object> + <object class="GtkImage" id="image3"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="stock">gtk-save-as</property> + </object> + <object class="GtkDialog" id="anastasis_gtk_user_sure_dialog"> + <property name="can-focus">False</property> + <property name="type-hint">dialog</property> + <signal name="response" handler="anastasis_gtk_user_sure_dialog_response_cb" swapped="no"/> + <child internal-child="vbox"> + <object class="GtkBox"> + <property name="can-focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox"> + <property name="can-focus">False</property> + <property name="hexpand">True</property> + <property name="layout-style">expand</property> + <child> + <object class="GtkButton" id="anastasis_gtk_c_code_dialog_btn_cancel"> + <property name="label">Go back, I want to check something</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="image">image1</property> + <property name="always-show-image">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="opacity">0</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="anastasis_gtk_print_details_button"> + <property name="label">Save as PDF</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="tooltip-text" translatable="yes">Save entered personal details to a PDF file</property> + <property name="image">image3</property> + <signal name="clicked" handler="anastasis_gtk_print_details_button_clicked_cb" swapped="no"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="opacity">0</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkButton" id="anastasis_gtk_c_code_dialog_btn_ok"> + <property name="label">I am sure!</property> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="has-focus">True</property> + <property name="has-default">True</property> + <property name="receives-default">True</property> + <property name="image">image2</property> + <property name="always-show-image">True</property> + <accelerator key="Return" signal="clicked"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="padding">10</property> + <property name="position">4</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="padding">20</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="anastasis_gtk_c_challenge_box"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <child> + <object class="GtkLabel" id="anastasis_gtk_sure_title_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes">You must not forget the exact information you have entered!</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="1.2"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="padding">20</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="padding">20</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can-focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <child> + <object class="GtkLabel" id="anastasis_gtk_sure_instructions_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes">Your personal information is used to define the location where +recovery information about your secret will be safely stored. + +If you forget what you have entered or if there is any spelling +mistake, you will be unable to recover your secret.</property> + <attributes> + <attribute name="scale" value="1.1000000000000001"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="padding">20</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="padding">20</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkSeparator"> + <property name="visible">True</property> + <property name="can-focus">False</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">anastasis_gtk_c_code_dialog_btn_cancel</action-widget> + <action-widget response="-5">anastasis_gtk_c_code_dialog_btn_ok</action-widget> + </action-widgets> + <child type="titlebar"> + <object class="GtkLabel" id="anastasis_gtk_c_code_dialog_label"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes">Are you sure?</property> + </object> + </child> + <action-widgets> + <action-widget response="-6">anastasis_gtk_c_code_dialog_btn_cancel</action-widget> + <action-widget response="-5">anastasis_gtk_c_code_dialog_btn_ok</action-widget> + </action-widgets> + </object> +</interface>