~leo.robol/lum/trunk

« back to all changes in this revision

Viewing changes to ui/LumChangeUserPasswordDialog.ui

  • Committer: Leonardo Robol
  • Date: 2010-09-18 13:31:11 UTC
  • Revision ID: git-v1:c000253b6f9887185d1a060bafb74d7e96d03a53
Added change_password method and related dialogs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<interface>
 
3
  <requires lib="gtk+" version="2.16"/>
 
4
  <!-- interface-naming-policy project-wide -->
 
5
  <object class="GtkDialog" id="dialog">
 
6
    <property name="border_width">5</property>
 
7
    <property name="title" translatable="yes">Cambio password</property>
 
8
    <property name="type_hint">normal</property>
 
9
    <property name="has_separator">False</property>
 
10
    <child internal-child="vbox">
 
11
      <object class="GtkVBox" id="dialog-vbox1">
 
12
        <property name="visible">True</property>
 
13
        <property name="spacing">2</property>
 
14
        <child>
 
15
          <object class="GtkTable" id="table1">
 
16
            <property name="visible">True</property>
 
17
            <property name="n_rows">3</property>
 
18
            <property name="n_columns">2</property>
 
19
            <child>
 
20
              <object class="GtkLabel" id="label1">
 
21
                <property name="visible">True</property>
 
22
                <property name="xalign">0</property>
 
23
                <property name="xpad">5</property>
 
24
                <property name="label" translatable="yes">Encryption strategy</property>
 
25
              </object>
 
26
            </child>
 
27
            <child>
 
28
              <object class="GtkComboBox" id="crypt_strategy_combobox">
 
29
                <property name="visible">True</property>
 
30
                <property name="model">password_strategy_store</property>
 
31
                <property name="active">0</property>
 
32
                <child>
 
33
                  <object class="GtkCellRendererText" id="cellrenderertext1"/>
 
34
                  <attributes>
 
35
                    <attribute name="text">0</attribute>
 
36
                  </attributes>
 
37
                </child>
 
38
              </object>
 
39
              <packing>
 
40
                <property name="left_attach">1</property>
 
41
                <property name="right_attach">2</property>
 
42
              </packing>
 
43
            </child>
 
44
            <child>
 
45
              <object class="GtkLabel" id="label2">
 
46
                <property name="visible">True</property>
 
47
                <property name="xalign">0</property>
 
48
                <property name="xpad">5</property>
 
49
                <property name="label" translatable="yes">Password</property>
 
50
              </object>
 
51
              <packing>
 
52
                <property name="top_attach">1</property>
 
53
                <property name="bottom_attach">2</property>
 
54
              </packing>
 
55
            </child>
 
56
            <child>
 
57
              <object class="GtkLabel" id="label3">
 
58
                <property name="visible">True</property>
 
59
                <property name="xalign">0</property>
 
60
                <property name="xpad">5</property>
 
61
                <property name="label" translatable="yes">Repeat Password</property>
 
62
              </object>
 
63
              <packing>
 
64
                <property name="top_attach">2</property>
 
65
                <property name="bottom_attach">3</property>
 
66
              </packing>
 
67
            </child>
 
68
            <child>
 
69
              <object class="GtkEntry" id="password_entry_1">
 
70
                <property name="visible">True</property>
 
71
                <property name="can_focus">True</property>
 
72
                <property name="visibility">False</property>
 
73
                <property name="invisible_char">●</property>
 
74
              </object>
 
75
              <packing>
 
76
                <property name="left_attach">1</property>
 
77
                <property name="right_attach">2</property>
 
78
                <property name="top_attach">1</property>
 
79
                <property name="bottom_attach">2</property>
 
80
              </packing>
 
81
            </child>
 
82
            <child>
 
83
              <object class="GtkEntry" id="password_entry_2">
 
84
                <property name="visible">True</property>
 
85
                <property name="can_focus">True</property>
 
86
                <property name="visibility">False</property>
 
87
                <property name="invisible_char">●</property>
 
88
              </object>
 
89
              <packing>
 
90
                <property name="left_attach">1</property>
 
91
                <property name="right_attach">2</property>
 
92
                <property name="top_attach">2</property>
 
93
                <property name="bottom_attach">3</property>
 
94
              </packing>
 
95
            </child>
 
96
          </object>
 
97
          <packing>
 
98
            <property name="position">1</property>
 
99
          </packing>
 
100
        </child>
 
101
        <child internal-child="action_area">
 
102
          <object class="GtkHButtonBox" id="dialog-action_area1">
 
103
            <property name="visible">True</property>
 
104
            <property name="layout_style">end</property>
 
105
            <child>
 
106
              <object class="GtkButton" id="button2">
 
107
                <property name="label">gtk-cancel</property>
 
108
                <property name="visible">True</property>
 
109
                <property name="can_focus">True</property>
 
110
                <property name="receives_default">True</property>
 
111
                <property name="use_stock">True</property>
 
112
              </object>
 
113
              <packing>
 
114
                <property name="expand">False</property>
 
115
                <property name="fill">False</property>
 
116
                <property name="position">0</property>
 
117
              </packing>
 
118
            </child>
 
119
            <child>
 
120
              <object class="GtkButton" id="button1">
 
121
                <property name="label">gtk-ok</property>
 
122
                <property name="visible">True</property>
 
123
                <property name="can_focus">True</property>
 
124
                <property name="receives_default">True</property>
 
125
                <property name="use_stock">True</property>
 
126
              </object>
 
127
              <packing>
 
128
                <property name="expand">False</property>
 
129
                <property name="fill">False</property>
 
130
                <property name="position">1</property>
 
131
              </packing>
 
132
            </child>
 
133
          </object>
 
134
          <packing>
 
135
            <property name="expand">False</property>
 
136
            <property name="pack_type">end</property>
 
137
            <property name="position">0</property>
 
138
          </packing>
 
139
        </child>
 
140
      </object>
 
141
    </child>
 
142
    <action-widgets>
 
143
      <action-widget response="0">button2</action-widget>
 
144
      <action-widget response="1">button1</action-widget>
 
145
    </action-widgets>
 
146
  </object>
 
147
  <object class="GtkListStore" id="password_strategy_store">
 
148
    <columns>
 
149
      <!-- column-name strategy -->
 
150
      <column type="gchararray"/>
 
151
    </columns>
 
152
    <data>
 
153
      <row>
 
154
        <col id="0" translatable="yes">CRYPT</col>
 
155
      </row>
 
156
    </data>
 
157
  </object>
 
158
</interface>