aboutsummaryrefslogtreecommitdiff
path: root/main/data/preferences_window/change_password_dialog.ui
blob: 350d2a2d45a2a576eb6e211d90ccdb6c6036a934 (plain) (blame)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="DinoUiChangePasswordDialog">
    <property name="title" translatable="1">Change password</property>
    <property name="default-width">430</property>
    <property name="default-height">270</property>
    <property name="modal">True</property>
    <child type="titlebar">
      <object class="GtkHeaderBar">
        <property name="show-title-buttons">False</property>
        <child>
          <object class="GtkButton" id="cancel_button">
            <property name="label" translatable="yes">Cancel</property>
          </object>
        </child>
        <child type="end">
          <object class="GtkButton" id="change_password_button">
            <property name="sensitive">0</property>
            <style>
              <class name="suggested-action"/>
            </style>
            <child>
              <object class="GtkStack" id="change_password_stack">
                <child>
                  <object class="GtkStackPage">
                    <property name="name">label</property>
                    <property name="child">
                      <object class="GtkLabel" >
                        <property name="label" translatable="1">Change</property>
                      </object>
                    </property>
                  </object>
                </child>
                <child>
                  <object class="GtkStackPage">
                    <property name="name">spinner</property>
                    <property name="child">
                      <object class="GtkSpinner">
                        <property name="spinning">True</property>
                      </object>
                    </property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
    <child>
      <object class="AdwPreferencesPage">
        <child>
          <object class="AdwPreferencesGroup">
            <child>
              <object class="AdwPasswordEntryRow" id="current_password_entry">
                <property name="title" translatable="yes">Current password</property>
              </object>
            </child>
            <child>
              <object class="AdwPasswordEntryRow" id="new_password_entry">
                <property name="title" translatable="yes">New password</property>
              </object>
            </child>
            <child>
              <object class="AdwPasswordEntryRow" id="confirm_new_password_entry">
                <property name="title" translatable="yes">Confirm password</property>
              </object>
            </child>
            <child>
              <object class="GtkLabel" id="change_password_error_label">
                <property name="halign">center</property>
                <property name="hexpand">True</property>
                <property name="margin-top">7</property>
                <attributes>
                  <attribute name="scale" value="0.9"></attribute>
                </attributes>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>