summaryrefslogtreecommitdiffstats
path: root/src/gs-review-row.ui
blob: e0d1aca2a6392ed29ce5059e4d988cebe48a7b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.10 -->
  <template class="GsReviewRow" parent="GtkListBoxRow">
    <property name="activatable">False</property>
    <style>
      <class name="review-row"/>
    </style>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="spacing">6</property>
        <property name="hexpand">True</property>
        <property name="vexpand">True</property>
        <child>
          <object class="GtkBox">
            <property name="spacing">10</property>
            <property name="hexpand">True</property>
            <child>
              <object class="GsStarWidget" id="stars">
                <property name="halign">start</property>
                <property name="sensitive">False</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="summary_label">
                <property name="halign">start</property>
                <property name="label">Steep learning curve, but worth it</property>
                <property name="ellipsize">end</property>
                <property name="hexpand">True</property>
                <property name="selectable">True</property>
                <style>
                  <class name="heading"/>
                </style>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="date_label">
                <property name="halign">end</property>
                <property name="label">3 January 2016</property>
                <property name="hexpand">True</property>
                <property name="selectable">True</property>
                <style>
                  <class name="dim-label"/>
                </style>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="author_label">
            <property name="halign">start</property>
            <property name="label">Angela Avery</property>
            <property name="ellipsize">end</property>
            <property name="selectable">True</property>
            <style>
              <class name="dim-label"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkLabel" id="text_label">
            <property name="halign">start</property>
            <property name="margin_top">10</property>
            <property name="margin_bottom">8</property>
            <property name="label">Best overall 3D application I've ever used overall 3D application I've ever used. Best overall 3D application I've ever used overall 3D application I've ever used. Best overall 3D application I've ever used overall 3D application I've ever used. Best overall 3D application I've ever used overall 3D application I've ever used.</property>
            <property name="wrap">True</property>
            <property name="max_width_chars">80</property>
            <property name="xalign">0</property>
            <property name="wrap-mode">word-char</property>
            <property name="selectable">True</property>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="spacing">9</property>
            <child>
              <object class="GtkBox" id="box_voting">
                <property name="visible">False</property>
                <property name="spacing">9</property>
                <child>
                  <object class="GtkLabel">
                    <property name="label" translatable="yes" comments="Translators: Users can express their opinions about other users&apos; opinions about the apps.">Was this review useful to you?</property>
                    <property name="wrap">True</property>
                    <property name="xalign">0</property>
                    <style>
                      <class name="dim-label"/>
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkBox" id="box_vote_buttons">
                    <property name="spacing">0</property>
                    <style>
                      <class name="vote-buttons"/>
                    </style>
                    <child>
                      <object class="GtkButton" id="button_yes">
                        <property name="label" translatable="yes">Yes</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="has-frame">False</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_no">
                        <property name="label" translatable="yes">No</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="has-frame">False</property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkButton" id="button_dismiss">
                        <property name="label" translatable="yes" comments="Translators: Button text for indifference, only used when moderating">Meh</property>
                        <property name="can_focus">True</property>
                        <property name="receives_default">True</property>
                        <property name="has-frame">False</property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="button_report">
                <property name="label" translatable="yes">Report…</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="halign">end</property>
                <property name="has-frame">False</property>
              </object>
            </child>
            <child>
              <object class="GtkButton" id="button_remove">
                <property name="label" translatable="yes">Remove…</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="halign">end</property>
                <property name="has-frame">False</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>

  </template>

  <object class="GtkSizeGroup" id="action_sizegroup">
    <widgets>
      <widget name="button_report"/>
      <widget name="button_remove"/>
    </widgets>
  </object>
  <object class="GtkSizeGroup" id="useful_sizegroup">
    <widgets>
      <widget name="button_yes"/>
      <widget name="button_no"/>
    </widgets>
  </object>

</interface>