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