summaryrefslogtreecommitdiffstats
path: root/src/gs-app-details-page.ui
blob: 2cf1ad1e11a07e02c7a9338587c9da1934000104 (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
  <template class="GsAppDetailsPage" parent="GtkBox">
    <property name="orientation">vertical</property>

    <child>
      <object class="AdwHeaderBar" id="header_bar">
        <property name="valign">start</property>
        <property name="show_start_title_buttons">True</property>
        <property name="show_end_title_buttons">True</property>
        <property name="title-widget">
          <object class="AdwWindowTitle" id="window_title" />
        </property>
        <child type="start">
          <object class="GtkButton" id="back_button">
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="icon_name">go-previous-symbolic</property>
            <signal name="clicked" handler="back_clicked_cb"/>
            <style>
              <class name="image-button"/>
            </style>
            <accessibility>
              <property name="label" translatable="yes">Go back</property>
            </accessibility>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwStatusPage" id="status_page">
        <property name="icon_name">system-component-application</property>
        <property name="title">Inkscape</property>
        <property name="description">Vector based drawing program</property>
        <property name="vexpand">True</property>
        <style>
          <class name="compact"/>
          <class name="icon-dropshadow"/>
        </style>
        <child>
          <object class="AdwClamp">
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <child>
                  <object class="AdwPreferencesGroup" id="permissions_section">
                    <property name="title" translatable="yes">Requires additional permissions</property>
                    <!-- We can't remove children from a AdwPreferencesGroup
                         without knowing them beforehand, so let's simply
                         include a GtkListBox and remove its children. -->
                    <child>
                      <object class="GtkListBox" id="permissions_section_list">
                        <property name="selection-mode">none</property>
                        <style>
                          <class name="boxed-list"/>
                        </style>
                      </object>
                    </child>
                  </object>
                </child>
                <child>
                  <object class="GtkListBox">
                    <property name="selection-mode">none</property>
                    <style>
                      <class name="boxed-list"/>
                    </style>
                    <child>
                      <object class="GtkListBoxRow">
                        <property name="activatable">False</property>
                        <child>
                          <object class="GtkLabel" id="label_details">
                            <property name="xalign">0</property>
                            <property name="yalign">0</property>
                            <property name="margin-top">18</property>
                            <property name="margin-bottom">18</property>
                            <property name="margin-start">18</property>
                            <property name="margin-end">18</property>
                            <property name="label">New in kmod 14-1
* Moo
* bar</property>
                            <property name="wrap">True</property>
                            <property name="selectable">True</property>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>