| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface domain="gtk40"> |
| 3 |
<menu id="menu1"> |
| 4 |
<section> |
| 5 |
<item> |
| 6 |
<attribute name="label" translatable="yes">Email message</attribute> |
| 7 |
</item> |
| 8 |
<item> |
| 9 |
<attribute name="label" translatable="yes">Embed message</attribute> |
| 10 |
</item> |
| 11 |
</section> |
| 12 |
</menu> |
| 13 |
<template class="GtkMessageRow" parent="GtkListBoxRow"> |
| 14 |
<child> |
| 15 |
<object class="GtkGrid" id="grid1"> |
| 16 |
<property name="hexpand">1</property> |
| 17 |
<child> |
| 18 |
<object class="GtkImage" id="avatar_image"> |
| 19 |
<property name="width-request">32</property> |
| 20 |
<property name="height-request">32</property> |
| 21 |
<property name="halign">center</property> |
| 22 |
<property name="valign">start</property> |
| 23 |
<property name="margin-top">8</property> |
| 24 |
<property name="margin-bottom">8</property> |
| 25 |
<property name="margin-start">8</property> |
| 26 |
<property name="margin-end">8</property> |
| 27 |
<property name="icon-name">image-missing</property> |
| 28 |
<property name="icon-size">large</property> |
| 29 |
<layout> |
| 30 |
<property name="column">0</property> |
| 31 |
<property name="row">0</property> |
| 32 |
<property name="row-span">5</property> |
| 33 |
</layout> |
| 34 |
</object> |
| 35 |
</child> |
| 36 |
<child> |
| 37 |
<object class="GtkBox" id="box1"> |
| 38 |
<property name="hexpand">1</property> |
| 39 |
<property name="baseline-position">top</property> |
| 40 |
<child> |
| 41 |
<object class="GtkButton" id="button2"> |
| 42 |
<property name="receives-default">1</property> |
| 43 |
<property name="valign">baseline</property> |
| 44 |
<property name="has-frame">0</property> |
| 45 |
<property name="child"> |
| 46 |
<object class="GtkLabel" id="source_name"> |
| 47 |
<property name="valign">baseline</property> |
| 48 |
<property name="label" translatable="0">Username</property> |
| 49 |
<property name="attributes">0 -1 weight bold</property> |
| 50 |
</object> |
| 51 |
</property> |
| 52 |
</object> |
| 53 |
</child> |
| 54 |
<child> |
| 55 |
<object class="GtkLabel" id="source_nick"> |
| 56 |
<property name="valign">baseline</property> |
| 57 |
<property name="label" translatable="0">@nick</property> |
| 58 |
<style> |
| 59 |
<class name="dim-label"/> |
| 60 |
</style> |
| 61 |
</object> |
| 62 |
</child> |
| 63 |
<child> |
| 64 |
<object class="GtkLabel" id="short_time_label"> |
| 65 |
<property name="hexpand">1</property> |
| 66 |
<property name="xalign">1</property> |
| 67 |
<property name="valign">baseline</property> |
| 68 |
<property name="label" translatable="yes">38m</property> |
| 69 |
<style> |
| 70 |
<class name="dim-label"/> |
| 71 |
</style> |
| 72 |
</object> |
| 73 |
</child> |
| 74 |
<layout> |
| 75 |
<property name="column">1</property> |
| 76 |
<property name="row">0</property> |
| 77 |
</layout> |
| 78 |
</object> |
| 79 |
</child> |
| 80 |
<child> |
| 81 |
<object class="GtkLabel" id="content_label"> |
| 82 |
<property name="halign">start</property> |
| 83 |
<property name="valign">start</property> |
| 84 |
<property name="xalign">0</property> |
| 85 |
<property name="yalign">0</property> |
| 86 |
<property name="label" translatable="0">Message</property> |
| 87 |
<property name="wrap">1</property> |
| 88 |
<layout> |
| 89 |
<property name="column">1</property> |
| 90 |
<property name="row">1</property> |
| 91 |
</layout> |
| 92 |
</object> |
| 93 |
</child> |
| 94 |
<child> |
| 95 |
<object class="GtkBox" id="resent_box"> |
| 96 |
<child> |
| 97 |
<object class="GtkImage" id="image2"> |
| 98 |
<property name="icon-name">media-playlist-repeat</property> |
| 99 |
</object> |
| 100 |
</child> |
| 101 |
<child> |
| 102 |
<object class="GtkLabel" id="label4"> |
| 103 |
<property name="label" translatable="yes">Resent by</property> |
| 104 |
</object> |
| 105 |
</child> |
| 106 |
<child> |
| 107 |
<object class="GtkLinkButton" id="resent_by_button"> |
| 108 |
<property name="label" translatable="0">reshareer</property> |
| 109 |
<property name="receives-default">1</property> |
| 110 |
<property name="has-frame">0</property> |
| 111 |
<property name="uri">http://www.gtk.org</property> |
| 112 |
</object> |
| 113 |
</child> |
| 114 |
<layout> |
| 115 |
<property name="column">1</property> |
| 116 |
<property name="row">2</property> |
| 117 |
</layout> |
| 118 |
</object> |
| 119 |
</child> |
| 120 |
<child> |
| 121 |
<object class="GtkBox" id="box3"> |
| 122 |
<property name="spacing">6</property> |
| 123 |
<child> |
| 124 |
<object class="GtkButton" id="expand_button"> |
| 125 |
<property name="label" translatable="yes">Expand</property> |
| 126 |
<property name="receives-default">1</property> |
| 127 |
<property name="has-frame">0</property> |
| 128 |
<signal name="clicked" handler="expand_clicked" swapped="yes"/> |
| 129 |
</object> |
| 130 |
</child> |
| 131 |
<child> |
| 132 |
<object class="GtkBox" id="extra_buttons_box"> |
| 133 |
<property name="visible">0</property> |
| 134 |
<property name="spacing">6</property> |
| 135 |
<child> |
| 136 |
<object class="GtkButton" id="reply-button"> |
| 137 |
<property name="label" translatable="yes">Reply</property> |
| 138 |
<property name="receives-default">1</property> |
| 139 |
<property name="has-frame">0</property> |
| 140 |
</object> |
| 141 |
</child> |
| 142 |
<child> |
| 143 |
<object class="GtkButton" id="reshare-button"> |
| 144 |
<property name="label" translatable="yes">Reshare</property> |
| 145 |
<property name="receives-default">1</property> |
| 146 |
<property name="has-frame">0</property> |
| 147 |
<signal name="clicked" handler="reshare_clicked" swapped="yes"/> |
| 148 |
</object> |
| 149 |
</child> |
| 150 |
<child> |
| 151 |
<object class="GtkButton" id="favorite-button"> |
| 152 |
<property name="label" translatable="yes">Favorite</property> |
| 153 |
<property name="receives-default">1</property> |
| 154 |
<property name="has-frame">0</property> |
| 155 |
<signal name="clicked" handler="favorite_clicked" swapped="yes"/> |
| 156 |
</object> |
| 157 |
</child> |
| 158 |
<child> |
| 159 |
<object class="GtkMenuButton" id="more-button"> |
| 160 |
<property name="receives-default">1</property> |
| 161 |
<property name="menu-model">menu1</property> |
| 162 |
<property name="has-frame">0</property> |
| 163 |
<property name="label" translatable="yes">More...</property> |
| 164 |
</object> |
| 165 |
</child> |
| 166 |
</object> |
| 167 |
</child> |
| 168 |
<layout> |
| 169 |
<property name="column">1</property> |
| 170 |
<property name="row">3</property> |
| 171 |
</layout> |
| 172 |
</object> |
| 173 |
</child> |
| 174 |
<child> |
| 175 |
<object class="GtkRevealer" id="details_revealer"> |
| 176 |
<property name="child"> |
| 177 |
<object class="GtkBox" id="box5"> |
| 178 |
<property name="orientation">vertical</property> |
| 179 |
<child> |
| 180 |
<object class="GtkBox" id="box7"> |
| 181 |
<property name="margin-top">2</property> |
| 182 |
<property name="margin-bottom">2</property> |
| 183 |
<property name="spacing">8</property> |
| 184 |
<child> |
| 185 |
<object class="GtkLabel" id="n_reshares_label"> |
| 186 |
<property name="label" translatable="0"><b>2</b> |
| 187 |
Reshares</property> |
| 188 |
<property name="use-markup">1</property> |
| 189 |
</object> |
| 190 |
</child> |
| 191 |
<child> |
| 192 |
<object class="GtkLabel" id="n_favorites_label"> |
| 193 |
<property name="label" translatable="0"><b>2</b> |
| 194 |
FAVORITES</property> |
| 195 |
<property name="use-markup">1</property> |
| 196 |
</object> |
| 197 |
</child> |
| 198 |
</object> |
| 199 |
</child> |
| 200 |
<child> |
| 201 |
<object class="GtkBox" id="box6"> |
| 202 |
<child> |
| 203 |
<object class="GtkLabel" id="detailed_time_label"> |
| 204 |
<property name="label" translatable="0">4:25 AM - 14 Jun 13 </property> |
| 205 |
<style> |
| 206 |
<class name="dim-label"/> |
| 207 |
</style> |
| 208 |
</object> |
| 209 |
</child> |
| 210 |
<child> |
| 211 |
<object class="GtkButton" id="button5"> |
| 212 |
<property name="label" translatable="yes">Details</property> |
| 213 |
<property name="receives-default">1</property> |
| 214 |
<property name="has-frame">0</property> |
| 215 |
<style> |
| 216 |
<class name="dim-label"/> |
| 217 |
</style> |
| 218 |
</object> |
| 219 |
</child> |
| 220 |
</object> |
| 221 |
</child> |
| 222 |
</object> |
| 223 |
</property> |
| 224 |
<layout> |
| 225 |
<property name="column">1</property> |
| 226 |
<property name="row">4</property> |
| 227 |
</layout> |
| 228 |
</object> |
| 229 |
</child> |
| 230 |
</object> |
| 231 |
</child> |
| 232 |
</template> |
| 233 |
</interface> |