File: initial-setup-window.ui

package info (click to toggle)
polari 49.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,204 kB
  • sloc: javascript: 8,663; ansic: 1,904; xml: 140; python: 30; makefile: 10; sh: 5
file content (102 lines) | stat: -rw-r--r-- 4,189 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>

<!--
SPDX-FileCopyrightText: 2016 Danny Mølgaard <moelgaard.dmp@gmail.com>
SPDX-FileCopyrightText: 2017 Florian Müllner <fmuellner@gnome.org>

SPDX-License-Identifier: GPL-2.0-or-later
-->

<interface>
  <template class="Gjs_InitialSetupWindow">
    <property name="icon-name">org.gnome.Polari</property>
    <property name="default-width">800</property>
    <property name="default-height">600</property>
    <property name="default-widget">nextButton</property>
    <property name="title" translatable="yes">Polari Setup</property>
    <child type="titlebar">
      <object class="GtkHeaderBar">
        <child>
          <object class="GtkButton" id="prevButton">
            <property name="use-underline">True</property>
            <property name="valign">center</property>
          </object>
        </child>
        <child type="end">
          <object class="GtkButton" id="nextButton">
            <property name="use-underline">True</property>
            <property name="valign">center</property>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="GtkStack" id="contentStack">
        <property name="transition-type">slide-left-right</property>
        <property name="vexpand">True</property>
        <child>
          <object class="GtkStackPage">
            <property name="name">offline-hint</property>
            <property name="child">
              <object class="AdwStatusPage">
                <property name="icon-name">network-offline-symbolic</property>
                <property name="title" translatable="yes">Not connected</property>
                <property name="description" translatable="yes">Please connect to the internet to continue the setup.</property>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="GtkStackPage">
            <property name="name">connections</property>
            <property name="child">
              <object class="AdwStatusPage">
                <property name="title" translatable="yes">Welcome to Polari</property>
                <property name="description" translatable="yes">Polari is an easy way to chat using IRC. Select a network to get started.</property>
                <property name="child">
                  <object class="AdwClamp">
                    <property name="child">
                      <object class="Gjs_ConnectionsList" id="connectionsList">
                        <property name="vscrollbar-policy">never</property>
                        <property name="has-frame">True</property>
                        <property name="favorites-only">True</property>
                      </object>
                    </property>
                  </object>
                </property>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="GtkStackPage">
            <property name="name">rooms</property>
            <property name="child">
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <style>
                  <class name="polari-setup-page"/>
                </style>
                <child>
                  <object class="AdwStatusPage">
                    <property name="title" translatable="yes">Welcome to Polari</property>
                    <property name="description" translatable="yes">Select rooms you want to connect to. You can add more networks and rooms later, by clicking the + button.</property>
                  </object>
                </child>
                <child>
                  <object class="AdwClamp">
                    <property name="child">
                      <object class="Gjs_ServerRoomList" id="serverRoomList">
                        <property name="vexpand">True</property>
                      </object>
                    </property>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>