anastasis_gtk_edit_policy.ui (8569B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright (C) 2019-2021 Anastasis SARL 4 5 This file is part of anastasis-gtk. 6 7 anastasis-gtk is free software: you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation, either version 3 of the License, or 10 (at your option) any later version. 11 12 anastasis-gtk is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with anastasis-gtk. If not, see <http://www.gnu.org/licenses/>. 19 20 Author: Christian Grothoff--> 21 <interface> 22 <requires lib="gtk" version="4.0"/> 23 <object class="GtkAdjustment" id="adjustment_h"> 24 <property name="upper">100</property> 25 <property name="step-increment">1</property> 26 <property name="page-increment">10</property> 27 </object> 28 <object class="GtkAdjustment" id="adjustment_v"> 29 <property name="upper">100</property> 30 <property name="step-increment">1</property> 31 <property name="page-increment">10</property> 32 </object> 33 <object class="GtkDialog" id="anastasis_gtk_policy_edit_dialog"> 34 <property name="visible">1</property> 35 <property name="title" translatable="1">Edit policy</property> 36 <property name="modal">1</property> 37 <signal name="response" handler="anastasis_gtk_policy_edit_dialog_response_cb" swapped="no"/> 38 <child internal-child="content_area"> 39 <object class="GtkBox"> 40 <property name="orientation">vertical</property> 41 <property name="spacing">2</property> 42 <child> 43 <object class="GtkBox" id="edit_dialog_vbox"> 44 <property name="hexpand">1</property> 45 <property name="vexpand">1</property> 46 <property name="orientation">vertical</property> 47 <child> 48 <object class="GtkLabel" id="edit_frame_label"> 49 <property name="label" translatable="1">Map challenges to providers to select them!</property> 50 <property name="justify">center</property> 51 <attributes> 52 <attribute name="weight" value="bold"></attribute> 53 </attributes> 54 <property name="margin-top">15</property> 55 <property name="margin-bottom">15</property> 56 </object> 57 </child> 58 <child> 59 <object class="GtkScrolledWindow" id="policy_scrolled_window"> 60 <property name="focusable">1</property> 61 <property name="hadjustment">adjustment_h</property> 62 <property name="vadjustment">adjustment_v</property> 63 <property name="propagate-natural-width">1</property> 64 <property name="propagate-natural-height">1</property> 65 <property name="child"> 66 <object class="GtkViewport" id="grid_viewport"> 67 <property name="hadjustment">adjustment_h</property> 68 <property name="vadjustment">adjustment_v</property> 69 <property name="child"> 70 <object class="GtkGrid" id="policy_grid"> 71 <property name="margin-top">5</property> 72 <property name="margin-bottom">5</property> 73 <property name="row-spacing">10</property> 74 <property name="column-spacing">5</property> 75 <property name="row-homogeneous">1</property> 76 <child> 77 <object class="GtkLabel" id="methods_label"> 78 <property name="margin-start">5</property> 79 <property name="margin-end">5</property> 80 <property name="label" translatable="1">Authentication method</property> 81 <attributes> 82 <attribute name="weight" value="bold"></attribute> 83 </attributes> 84 <layout> 85 <property name="column">0</property> 86 <property name="row">0</property> 87 </layout> 88 </object> 89 </child> 90 <child> 91 <object class="GtkLabel" id="provider_label"> 92 <property name="label" translatable="1">Anastasis provider</property> 93 <attributes> 94 <attribute name="weight" value="bold"></attribute> 95 </attributes> 96 <layout> 97 <property name="column">1</property> 98 <property name="row">0</property> 99 </layout> 100 </object> 101 </child> 102 <child> 103 <placeholder/> 104 </child> 105 <child> 106 <placeholder/> 107 </child> 108 <child> 109 <placeholder/> 110 </child> 111 <child> 112 <placeholder/> 113 </child> 114 <child> 115 <placeholder/> 116 </child> 117 <child> 118 <placeholder/> 119 </child> 120 <child> 121 <placeholder/> 122 </child> 123 </object> 124 </property> 125 </object> 126 </property> 127 <property name="has-frame">1</property> 128 </object> 129 </child> 130 </object> 131 </child> 132 </object> 133 </child> 134 <action-widgets> 135 <action-widget response="-6">cancel_button</action-widget> 136 <action-widget response="-5">ok_button</action-widget> 137 </action-widgets> 138 <child internal-child="action_area"> 139 <object class="GtkBox"> 140 <property name="can-focus">0</property> 141 <property name="homogeneous">1</property> 142 <property name="spacing">6</property> 143 <property name="halign">end</property> 144 <child> 145 <object class="GtkButton" id="cancel_button"> 146 <property name="focusable">1</property> 147 <property name="receives-default">1</property> 148 <property name="child"> 149 <object class="GtkBox"> 150 <property name="spacing">2</property> 151 <property name="halign">center</property> 152 <child> 153 <object class="GtkImage"> 154 <property name="icon-name">gtk-cancel</property> 155 </object> 156 </child> 157 <child> 158 <object class="GtkLabel"> 159 <property name="label" translatable="1">_Cancel</property> 160 <property name="use-underline">1</property> 161 <property name="mnemonic-widget">cancel_button</property> 162 </object> 163 </child> 164 </object> 165 </property> 166 </object> 167 </child> 168 <child> 169 <object class="GtkButton" id="ok_button"> 170 <property name="sensitive">0</property> 171 <property name="focusable">1</property> 172 <property name="receives-default">1</property> 173 <property name="child"> 174 <object class="GtkBox"> 175 <property name="spacing">2</property> 176 <property name="halign">center</property> 177 <child> 178 <object class="GtkImage"> 179 <property name="icon-name">gtk-ok</property> 180 </object> 181 </child> 182 <child> 183 <object class="GtkLabel"> 184 <property name="label" translatable="1">_OK</property> 185 <property name="use-underline">1</property> 186 <property name="mnemonic-widget">ok_button</property> 187 </object> 188 </child> 189 </object> 190 </property> 191 </object> 192 </child> 193 </object> 194 </child> 195 </object> 196 </interface> 197