summaryrefslogtreecommitdiffstats
path: root/src/gs-repos-dialog.ui
blob: c28fca0f3971edb26547cba184b2a0b3dddf76e3 (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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
  <template class="GsReposDialog" parent="AdwWindow">
    <property name="modal">True</property>
    <property name="destroy_with_parent">True</property>
    <property name="icon_name">dialog-information</property>
    <property name="title" translatable="yes">Software Repositories</property>
    <property name="default-width">640</property>
    <property name="default-height">576</property>

    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="width-request">360</property>
        <child>
          <object class="AdwHeaderBar">
            <property name="show_start_title_buttons">True</property>
            <property name="show_end_title_buttons">True</property>
            <property name="title-widget">
              <object class="AdwWindowTitle">
                <property name="title" bind-source="GsReposDialog" bind-property="title" bind-flags="sync-create"/>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="GtkStack" id="stack">
            <property name="vexpand">True</property>

            <child>
              <object class="GtkStackPage">
                <property name="name">waiting</property>
                <property name="child">
                  <object class="GtkSpinner" id="spinner">
                    <property name="width_request">32</property>
                    <property name="height_request">32</property>
                    <property name="halign">center</property>
                    <property name="valign">center</property>
                    <property name="hexpand">True</property>
                    <property name="vexpand">True</property>
                  </object>
                </property>
              </object>
            </child>

            <child>
              <object class="GtkStackPage">
                <property name="name">empty</property>
                <property name="child">
                  <object class="AdwStatusPage" id="status_empty">
                    <property name="icon_name">org.gnome.Software-symbolic</property>
                    <property name="title" translatable="yes">No Repositories</property>
                  </object>
                </property>
              </object>
            </child>


            <child>
              <object class="GtkStackPage">
                <property name="name">sources</property>
                <property name="child">
                  <object class="AdwPreferencesPage" id="content_page">
                  </object>
                </property>
              </object>
            </child>

          </object>
        </child>
      </object>
    </child>
  </template>
</interface>