new_account.ui (5150B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Generated with glade 3.40.0 3 4 Copyright (C) 2021‑‑2025 GNUnet e.V. 5 6 GNUnet is free software: you can redistribute it and/or modify it 7 under the terms of the GNU Affero General Public License as published 8 by the Free Software Foundation, either version 3 of the License, 9 or (at your option) any later version. 10 11 GNUnet is distributed in the hope that it will be useful, but 12 WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 Affero General Public License for more details. 15 16 You should have received a copy of the GNU Affero General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 19 SPDX-License-Identifier: AGPL3.0-or-later 20 Author: Tobias Frisch 21 22 --> 23 <interface> 24 <requires lib="gtk+" version="3.24"/> 25 <requires lib="libhandy" version="1.2"/> 26 <object class="GtkFileFilter" id="avatar_filter"> 27 <mime-types> 28 <mime-type>image/*</mime-type> 29 </mime-types> 30 </object> 31 <object class="GtkDialog" id="new_account_dialog"> 32 <property name="title" translatable="yes">New Account</property> 33 <property name="modal">1</property> 34 <property name="type-hint">dialog</property> 35 <child internal-child="vbox"> 36 <object class="GtkBox"> 37 <property name="orientation">vertical</property> 38 <property name="spacing">2</property> 39 <child internal-child="action_area"> 40 <object class="GtkButtonBox"> 41 <property name="layout-style">end</property> 42 <child> 43 <object class="GtkButton" id="cancel_button"> 44 <property name="label" translatable="yes">Cancel</property> 45 <property name="visible">1</property> 46 <property name="can-focus">1</property> 47 <property name="receives-default">1</property> 48 </object> 49 <packing> 50 <property name="expand">1</property> 51 </packing> 52 </child> 53 <child> 54 <object class="GtkButton" id="confirm_button"> 55 <property name="label" translatable="yes">Confirm</property> 56 <property name="visible">1</property> 57 <property name="sensitive">0</property> 58 <property name="can-focus">1</property> 59 <property name="receives-default">1</property> 60 </object> 61 <packing> 62 <property name="expand">1</property> 63 <property name="position">3</property> 64 </packing> 65 </child> 66 </object> 67 <packing> 68 <property name="fill">0</property> 69 </packing> 70 </child> 71 <child> 72 <object class="GtkBox"> 73 <property name="visible">1</property> 74 <property name="halign">center</property> 75 <property name="valign">center</property> 76 <property name="border-width">8</property> 77 <property name="orientation">vertical</property> 78 <property name="spacing">4</property> 79 <child> 80 <object class="HdyAvatar" id="account_avatar"> 81 <property name="visible">True</property> 82 <property name="can-focus">False</property> 83 <property name="halign">center</property> 84 <property name="margin-top">8</property> 85 <property name="margin-bottom">8</property> 86 <property name="icon-name">avatar-default-symbolic</property> 87 <property name="size">128</property> 88 </object> 89 </child> 90 <child> 91 <object class="GtkLabel"> 92 <property name="visible">1</property> 93 <property name="label" translatable="yes">Name:</property> 94 <property name="xalign">0</property> 95 </object> 96 <packing> 97 <property name="position">1</property> 98 </packing> 99 </child> 100 <child> 101 <object class="GtkEntry" id="account_entry"> 102 <property name="width-request">250</property> 103 <property name="visible">1</property> 104 <property name="can-focus">1</property> 105 </object> 106 <packing> 107 <property name="position">2</property> 108 </packing> 109 </child> 110 <child> 111 <object class="GtkFileChooserButton" id="account_avatar_file"> 112 <property name="visible">1</property> 113 <property name="filter">avatar_filter</property> 114 <property name="title" translatable="yes">Select profile picture</property> 115 </object> 116 <packing> 117 <property name="position">3</property> 118 </packing> 119 </child> 120 </object> 121 <packing> 122 <property name="expand">1</property> 123 <property name="position">1</property> 124 </packing> 125 </child> 126 </object> 127 </child> 128 </object> 129 </interface>