1<?xml version="1.0" encoding="UTF-8"?> 2<interface> 3 <requires lib="gtk+" version="3.20"/> 4 <template class="ExtensionRow" parent="GtkListBoxRow"> 5 <property name="activatable">False</property> 6 <child> 7 <object class="GtkGrid"> 8 <property name="margin-start">12</property> 9 <property name="margin-end">12</property> 10 <property name="margin-top">12</property> 11 <property name="margin-bottom">12</property> 12 <property name="column-spacing">12</property> 13 <child> 14 <object class="GtkLabel" id="nameLabel"/> 15 </child> 16 <child> 17 <object class="GtkImage" id="errorIcon"> 18 <property name="visible">False</property> 19 <property name="icon-name">dialog-error-symbolic</property> 20 <style> 21 <class name="error"/> 22 </style> 23 </object> 24 </child> 25 <child> 26 <object class="GtkImage" id="updatesIcon"> 27 <property name="visible">False</property> 28 <property name="icon-name">software-update-available-symbolic</property> 29 <style> 30 <class name="warning"/> 31 </style> 32 </object> 33 </child> 34 <child> 35 <object class="GtkLabel"> 36 <property name="hexpand">True</property> 37 </object> 38 </child> 39 <child> 40 <object class="GtkButton" id="prefsButton"> 41 <property name="visible" 42 bind-source="prefsButton" 43 bind-property="sensitive" 44 bind-flags="sync-create"/> 45 <property name="icon-name">emblem-system-symbolic</property> 46 <property name="receives-default">True</property> 47 <property name="valign">center</property> 48 <property name="action-name">row.show-prefs</property> 49 <style> 50 <class name="circular"/> 51 </style> 52 </object> 53 </child> 54 <child> 55 <object class="GtkSwitch" id="switch"> 56 <property name="valign">center</property> 57 <property name="action-name">row.enabled</property> 58 </object> 59 </child> 60 <child> 61 <object class="GtkSeparator"/> 62 </child> 63 <child> 64 <object class="GtkButton" id="revealButton"> 65 <property name="receives-default">True</property> 66 <property name="valign">center</property> 67 <property name="has-frame">False</property> 68 <property name="icon-name">pan-end-symbolic</property> 69 <style> 70 <class name="details-button"/> 71 </style> 72 </object> 73 </child> 74 <child> 75 <object class="GtkRevealer" id="revealer"> 76 <child> 77 <object class="GtkGrid"> 78 <property name="margin-top">12</property> 79 <property name="row-spacing">6</property> 80 <property name="column-spacing">12</property> 81 <child> 82 <object class="GtkLabel"> 83 <property name="label" translatable="yes">Description</property> 84 <property name="xalign">0</property> 85 <style> 86 <class name="dim-label"/> 87 </style> 88 </object> 89 </child> 90 <child> 91 <object class="GtkLabel" id="descriptionLabel"> 92 <property name="ellipsize">end</property> 93 <property name="max-width-chars">60</property> 94 <property name="xalign">0</property> 95 <property name="yalign">0</property> 96 </object> 97 </child> 98 <child> 99 <object class="GtkLabel"> 100 <property name="visible" 101 bind-source="versionLabel" 102 bind-property="visible" 103 bind-flags="sync-create"/> 104 <property name="label" translatable="yes">Version</property> 105 <property name="xalign">0</property> 106 <style> 107 <class name="dim-label"/> 108 </style> 109 <layout> 110 <property name="column">0</property> 111 <property name="row">1</property> 112 </layout> 113 </object> 114 </child> 115 <child> 116 <object class="GtkLabel" id="versionLabel"> 117 <property name="visible">False</property> 118 <property name="xalign">0</property> 119 <layout> 120 <property name="column">1</property> 121 <property name="row">1</property> 122 </layout> 123 </object> 124 </child> 125 <child> 126 <object class="GtkLabel"> 127 <property name="visible" 128 bind-source="authorLabel" 129 bind-property="visible" 130 bind-flags="sync-create"/> 131 <property name="label" translatable="yes">Author</property> 132 <property name="xalign">0</property> 133 <style> 134 <class name="dim-label"/> 135 </style> 136 <layout> 137 <property name="column">0</property> 138 <property name="row">2</property> 139 </layout> 140 </object> 141 </child> 142 <child> 143 <object class="GtkLabel" id="authorLabel"> 144 <property name="visible">False</property> 145 <property name="xalign">0</property> 146 <layout> 147 <property name="column">1</property> 148 <property name="row">2</property> 149 </layout> 150 </object> 151 </child> 152 <child> 153 <object class="GtkLabel"> 154 <property name="visible" 155 bind-source="errorLabel" 156 bind-property="visible" 157 bind-flags="sync-create"/> 158 <property name="label" translatable="yes">Error</property> 159 <property name="xalign">0</property> 160 <property name="yalign">0</property> 161 <style> 162 <class name="dim-label"/> 163 </style> 164 <layout> 165 <property name="column">0</property> 166 <property name="row">3</property> 167 </layout> 168 </object> 169 </child> 170 <child> 171 <object class="GtkLabel" id="errorLabel"> 172 <property name="visible">False</property> 173 <property name="selectable">True</property> 174 <property name="wrap">True</property> 175 <property name="max-width-chars">60</property> 176 <property name="xalign">0</property> 177 <layout> 178 <property name="column">1</property> 179 <property name="row">3</property> 180 </layout> 181 </object> 182 </child> 183 <child> 184 <object class="GtkButton"> 185 <property name="label" translatable="yes">Website</property> 186 <property name="action-name">row.show-url</property> 187 <property name="valign">end</property> 188 <property name="margin-top">12</property> 189 <layout> 190 <property name="column">0</property> 191 <property name="row">4</property> 192 </layout> 193 </object> 194 </child> 195 <child> 196 <object class="GtkButton" id="removeButton"> 197 <property name="visible" 198 bind-source="removeButton" 199 bind-property="sensitive" 200 bind-flags="sync-create"/> 201 <property name="label" translatable="yes">Remove…</property> 202 <property name="action-name">row.uninstall</property> 203 <property name="hexpand">True</property> 204 <property name="halign">end</property> 205 <property name="valign">end</property> 206 <style> 207 <class name="destructive-action"/> 208 </style> 209 <layout> 210 <property name="column">1</property> 211 <property name="row">4</property> 212 </layout> 213 </object> 214 </child> 215 </object> 216 </child> 217 <layout> 218 <property name="column">0</property> 219 <property name="row">1</property> 220 <property name="column-span">8</property> 221 </layout> 222 </object> 223 </child> 224 </object> 225 </child> 226 </template> 227</interface> 228