files.ui (9596B)
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="GtkDialog" id="files_dialog"> 26 <property name="title" translatable="yes">Files</property> 27 <property name="modal">1</property> 28 <property name="type-hint">dialog</property> 29 <child internal-child="vbox"> 30 <object class="GtkBox"> 31 <property name="orientation">vertical</property> 32 <property name="spacing">2</property> 33 <child internal-child="action_area"> 34 <object class="GtkButtonBox"> 35 <property name="layout-style">end</property> 36 <child> 37 <object class="GtkButton" id="back_button"> 38 <property name="label" translatable="yes">Back</property> 39 <property name="can-focus">1</property> 40 <property name="receives-default">1</property> 41 </object> 42 <packing> 43 <property name="expand">1</property> 44 </packing> 45 </child> 46 <child> 47 <object class="GtkButton" id="close_button"> 48 <property name="label" translatable="yes">Close</property> 49 <property name="visible">1</property> 50 <property name="can-focus">1</property> 51 <property name="receives-default">1</property> 52 </object> 53 <packing> 54 <property name="expand">1</property> 55 <property name="position">1</property> 56 </packing> 57 </child> 58 </object> 59 <packing> 60 <property name="fill">0</property> 61 </packing> 62 </child> 63 <child> 64 <object class="GtkStack" id="dialog_stack"> 65 <property name="visible">1</property> 66 <child> 67 <object class="GtkBox" id="list_box"> 68 <property name="visible">1</property> 69 <property name="orientation">vertical</property> 70 <child> 71 <object class="GtkSearchEntry" id="file_search_entry"> 72 <property name="width-request">250</property> 73 <property name="visible">1</property> 74 <property name="can-focus">1</property> 75 <property name="primary-icon-name">edit-find-symbolic</property> 76 <property name="primary-icon-activatable">0</property> 77 <property name="primary-icon-sensitive">0</property> 78 </object> 79 </child> 80 <child> 81 <object class="GtkScrolledWindow"> 82 <property name="visible">1</property> 83 <property name="can-focus">1</property> 84 <property name="shadow-type">in</property> 85 <child> 86 <object class="GtkViewport"> 87 <property name="visible">1</property> 88 <child> 89 <object class="GtkListBox" id="files_listbox"> 90 <property name="visible">1</property> 91 <property name="selection-mode">none</property> 92 </object> 93 </child> 94 </object> 95 </child> 96 </object> 97 <packing> 98 <property name="expand">1</property> 99 <property name="pack-type">end</property> 100 <property name="position">1</property> 101 </packing> 102 </child> 103 </object> 104 <packing> 105 <property name="name">files_list_page</property> 106 </packing> 107 </child> 108 <child> 109 <object class="GtkBox" id="info_box"> 110 <property name="width-request">240</property> 111 <property name="visible">1</property> 112 <property name="halign">center</property> 113 <property name="valign">center</property> 114 <property name="border-width">12</property> 115 <property name="orientation">vertical</property> 116 <property name="spacing">8</property> 117 <child> 118 <object class="GtkImage"> 119 <property name="visible">1</property> 120 <property name="pixel-size">64</property> 121 <property name="icon-name">folder-documents-symbolic</property> 122 <property name="icon-size">3</property> 123 </object> 124 </child> 125 <child> 126 <object class="GtkLabel" id="name_label"> 127 <property name="visible">1</property> 128 </object> 129 <packing> 130 <property name="position">1</property> 131 </packing> 132 </child> 133 <child> 134 <object class="GtkProgressBar" id="storage_progress_bar"> 135 <property name="visible">1</property> 136 <property name="show-text">1</property> 137 </object> 138 <packing> 139 <property name="position">2</property> 140 </packing> 141 </child> 142 <child> 143 <object class="GtkBox"> 144 <property name="visible">1</property> 145 <property name="halign">center</property> 146 <property name="spacing">2</property> 147 <child> 148 <object class="GtkButton" id="delete_file_button"> 149 <property name="visible">1</property> 150 <property name="sensitive">0</property> 151 <property name="can-focus">1</property> 152 <property name="receives-default">1</property> 153 <child> 154 <object class="GtkImage"> 155 <property name="visible">1</property> 156 <property name="icon-name">user-trash-symbolic</property> 157 </object> 158 </child> 159 </object> 160 </child> 161 <child> 162 <object class="GtkButton" id="play_pause_button"> 163 <property name="visible">1</property> 164 <property name="sensitive">0</property> 165 <property name="can-focus">1</property> 166 <property name="receives-default">1</property> 167 <child> 168 <object class="GtkStack" id="play_icon_stack"> 169 <property name="visible">1</property> 170 <child> 171 <object class="GtkImage" id="play_icon_image"> 172 <property name="visible">1</property> 173 <property name="icon-name">media-playback-start-symbolic</property> 174 </object> 175 <packing> 176 <property name="name">play_icon_page</property> 177 </packing> 178 </child> 179 <child> 180 <object class="GtkImage" id="pause_icon_image"> 181 <property name="visible">1</property> 182 <property name="icon-name">media-playback-pause-symbolic</property> 183 </object> 184 <packing> 185 <property name="name">pause_icon_page</property> 186 <property name="position">1</property> 187 </packing> 188 </child> 189 </object> 190 </child> 191 </object> 192 <packing> 193 <property name="position">1</property> 194 </packing> 195 </child> 196 </object> 197 <packing> 198 <property name="position">3</property> 199 </packing> 200 </child> 201 </object> 202 <packing> 203 <property name="name">file_info_page</property> 204 <property name="position">1</property> 205 </packing> 206 </child> 207 </object> 208 <packing> 209 <property name="expand">1</property> 210 <property name="position">2</property> 211 </packing> 212 </child> 213 </object> 214 </child> 215 </object> 216 </interface>