delete_messages.ui (6162B)
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 <object class="GtkListStore" id="delay_store"> 26 <columns> 27 <!-- column-name name --> 28 <column type="gchararray"/> 29 <!-- column-name value --> 30 <column type="gulong"/> 31 </columns> 32 <data> 33 <row> 34 <col id="0" translatable="yes">Off</col> 35 <col id="1">0</col> 36 </row> 37 <row> 38 <col id="0" translatable="yes">4 weeks</col> 39 <col id="1">2419200</col> 40 </row> 41 <row> 42 <col id="0" translatable="yes">1 week</col> 43 <col id="1">604800</col> 44 </row> 45 <row> 46 <col id="0" translatable="yes">1 day</col> 47 <col id="1">86400</col> 48 </row> 49 <row> 50 <col id="0" translatable="yes">8 hours</col> 51 <col id="1">28800</col> 52 </row> 53 <row> 54 <col id="0" translatable="yes">1 hour</col> 55 <col id="1">3600</col> 56 </row> 57 <row> 58 <col id="0" translatable="yes">5 minutes</col> 59 <col id="1">300</col> 60 </row> 61 <row> 62 <col id="0" translatable="yes">30 seconds</col> 63 <col id="1">30</col> 64 </row> 65 </data> 66 </object> 67 <object class="GtkDialog" id="delete_messages_dialog"> 68 <property name="title" translatable="yes">Delete Messages</property> 69 <property name="modal">1</property> 70 <property name="type-hint">dialog</property> 71 <child internal-child="vbox"> 72 <object class="GtkBox"> 73 <property name="orientation">vertical</property> 74 <property name="spacing">2</property> 75 <child internal-child="action_area"> 76 <object class="GtkButtonBox"> 77 <property name="layout-style">end</property> 78 <child> 79 <object class="GtkButton" id="cancel_button"> 80 <property name="label" translatable="yes">Cancel</property> 81 <property name="visible">1</property> 82 <property name="can-focus">1</property> 83 <property name="receives-default">1</property> 84 </object> 85 <packing> 86 <property name="expand">1</property> 87 </packing> 88 </child> 89 <child> 90 <object class="GtkButton" id="confirm_button"> 91 <property name="label" translatable="yes">Confirm</property> 92 <property name="visible">1</property> 93 <property name="can-focus">1</property> 94 <property name="receives-default">1</property> 95 </object> 96 <packing> 97 <property name="expand">1</property> 98 <property name="position">1</property> 99 </packing> 100 </child> 101 </object> 102 <packing> 103 <property name="fill">0</property> 104 </packing> 105 </child> 106 <child> 107 <object class="GtkBox"> 108 <property name="visible">1</property> 109 <property name="halign">center</property> 110 <property name="valign">center</property> 111 <property name="border-width">8</property> 112 <property name="orientation">vertical</property> 113 <property name="spacing">8</property> 114 <child> 115 <object class="GtkLabel"> 116 <property name="visible">1</property> 117 <property name="label" translatable="yes">When do you want those messages to be deleted?</property> 118 <property name="wrap">1</property> 119 <property name="wrap-mode">word-char</property> 120 <property name="xalign">0</property> 121 </object> 122 <packing> 123 <property name="position">-1</property> 124 </packing> 125 </child> 126 <child> 127 <object class="GtkComboBox" id="delay_combobox"> 128 <property name="visible">1</property> 129 <property name="model">delay_store</property> 130 <property name="active">0</property> 131 <child> 132 <object class="GtkCellRendererText"/> 133 <attributes> 134 <attribute name="text">0</attribute> 135 </attributes> 136 </child> 137 </object> 138 <packing> 139 <property name="position">1</property> 140 </packing> 141 </child> 142 <child> 143 <object class="GtkCheckButton" id="hide_checkbox"> 144 <property name="visible">1</property> 145 <property name="can-focus">1</property> 146 <property name="draw-indicator">1</property> 147 <child> 148 <object class="GtkLabel"> 149 <property name="visible">1</property> 150 <property name="label" translatable="yes">Hide this dialog in the future</property> 151 <property name="ellipsize">end</property> 152 </object> 153 </child> 154 </object> 155 <packing> 156 <property name="position">2</property> 157 </packing> 158 </child> 159 </object> 160 <packing> 161 <property name="expand">1</property> 162 <property name="position">1</property> 163 </packing> 164 </child> 165 </object> 166 </child> 167 </object> 168 </interface>