~leo.robol/lum/trunk

« back to all changes in this revision

Viewing changes to lum/interface/ui/LumConnectDialog.ui

  • Committer: Leonardo Robol
  • Date: 2010-09-19 15:31:17 UTC
  • Revision ID: git-v1:281ceece5234622daba78fabf0efaf6cc893693c
Moved source to better suit setup.py

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="GtkListStore" id="server_store">
6
 
    <columns>
7
 
      <!-- column-name icon -->
8
 
      <column type="GdkPixbuf"/>
9
 
      <!-- column-name uri -->
10
 
      <column type="gchararray"/>
11
 
      <!-- column-name bind_dn -->
12
 
      <column type="gchararray"/>
13
 
      <!-- column-name base_dn -->
14
 
      <column type="gchararray"/>
15
 
      <!-- column-name users_ou -->
16
 
      <column type="gchararray"/>
17
 
      <!-- column-name groups_ou -->
18
 
      <column type="gchararray"/>
19
 
    </columns>
20
 
  </object>
21
 
  <object class="GtkDialog" id="connect_dialog">
22
 
    <property name="border_width">5</property>
23
 
    <property name="title" translatable="yes">Connect to LDAP server</property>
24
 
    <property name="default_width">600</property>
25
 
    <property name="default_height">400</property>
26
 
    <property name="type_hint">normal</property>
27
 
    <property name="has_separator">False</property>
28
 
    <child internal-child="vbox">
29
 
      <object class="GtkVBox" id="dialog-vbox1">
30
 
        <property name="visible">True</property>
31
 
        <property name="spacing">2</property>
32
 
        <child>
33
 
          <object class="GtkVBox" id="vbox1">
34
 
            <property name="visible">True</property>
35
 
            <child>
36
 
              <object class="GtkScrolledWindow" id="scrolledwindow1">
37
 
                <property name="visible">True</property>
38
 
                <property name="can_focus">True</property>
39
 
                <property name="hscrollbar_policy">automatic</property>
40
 
                <property name="vscrollbar_policy">automatic</property>
41
 
                <child>
42
 
                  <object class="GtkTreeView" id="treeview">
43
 
                    <property name="visible">True</property>
44
 
                    <property name="can_focus">True</property>
45
 
                    <property name="model">server_store</property>
46
 
                    <property name="headers_clickable">False</property>
47
 
                    <property name="search_column">1</property>
48
 
                    <signal name="row_activated" handler="on_treeview_row_activated"/>
49
 
                    <child>
50
 
                      <object class="GtkTreeViewColumn" id="treeviewcolumn1">
51
 
                        <property name="resizable">True</property>
52
 
                        <property name="sizing">autosize</property>
53
 
                        <child>
54
 
                          <object class="GtkCellRendererPixbuf" id="cellrendererpixbuf1"/>
55
 
                          <attributes>
56
 
                            <attribute name="pixbuf">0</attribute>
57
 
                          </attributes>
58
 
                        </child>
59
 
                      </object>
60
 
                    </child>
61
 
                    <child>
62
 
                      <object class="GtkTreeViewColumn" id="treeviewcolumn3">
63
 
                        <property name="resizable">True</property>
64
 
                        <property name="sizing">autosize</property>
65
 
                        <property name="title">URI</property>
66
 
                        <property name="expand">True</property>
67
 
                        <child>
68
 
                          <object class="GtkCellRendererText" id="uri_cellrenderer">
69
 
                            <signal name="edited" handler="on_uri_cellrenderer_edited"/>
70
 
                            <signal name="editing_started" handler="on_uri_cellrenderer_editing_started"/>
71
 
                          </object>
72
 
                          <attributes>
73
 
                            <attribute name="text">1</attribute>
74
 
                          </attributes>
75
 
                        </child>
76
 
                      </object>
77
 
                    </child>
78
 
                    <child>
79
 
                      <object class="GtkTreeViewColumn" id="treeviewcolumn4">
80
 
                        <property name="resizable">True</property>
81
 
                        <property name="sizing">autosize</property>
82
 
                        <property name="title">Bind DN</property>
83
 
                        <property name="expand">True</property>
84
 
                        <child>
85
 
                          <object class="GtkCellRendererText" id="bind_dn_cellrenderer">
86
 
                            <signal name="edited" handler="on_bind_dn_edited"/>
87
 
                          </object>
88
 
                          <attributes>
89
 
                            <attribute name="text">2</attribute>
90
 
                          </attributes>
91
 
                        </child>
92
 
                      </object>
93
 
                    </child>
94
 
                    <child>
95
 
                      <object class="GtkTreeViewColumn" id="treeviewcolumn2">
96
 
                        <property name="resizable">True</property>
97
 
                        <property name="sizing">autosize</property>
98
 
                        <property name="title">Base DN</property>
99
 
                        <child>
100
 
                          <object class="GtkCellRendererText" id="base_dn_cellrenderer">
101
 
                            <signal name="edited" handler="on_base_dn_edited"/>
102
 
                          </object>
103
 
                          <attributes>
104
 
                            <attribute name="text">3</attribute>
105
 
                          </attributes>
106
 
                        </child>
107
 
                      </object>
108
 
                    </child>
109
 
                    <child>
110
 
                      <object class="GtkTreeViewColumn" id="treeviewcolumn5">
111
 
                        <property name="resizable">True</property>
112
 
                        <property name="sizing">autosize</property>
113
 
                        <property name="title">Users OU</property>
114
 
                        <child>
115
 
                          <object class="GtkCellRendererText" id="users_ou_cellrenderer">
116
 
                            <signal name="edited" handler="on_users_ou_edited"/>
117
 
                          </object>
118
 
                          <attributes>
119
 
                            <attribute name="text">4</attribute>
120
 
                          </attributes>
121
 
                        </child>
122
 
                      </object>
123
 
                    </child>
124
 
                    <child>
125
 
                      <object class="GtkTreeViewColumn" id="treeviewcolumn6">
126
 
                        <property name="resizable">True</property>
127
 
                        <property name="sizing">autosize</property>
128
 
                        <property name="title">Groups OU</property>
129
 
                        <child>
130
 
                          <object class="GtkCellRendererText" id="groups_ou_cellrenderer">
131
 
                            <signal name="edited" handler="on_groups_ou_edited"/>
132
 
                          </object>
133
 
                          <attributes>
134
 
                            <attribute name="text">5</attribute>
135
 
                          </attributes>
136
 
                        </child>
137
 
                      </object>
138
 
                    </child>
139
 
                  </object>
140
 
                </child>
141
 
              </object>
142
 
              <packing>
143
 
                <property name="position">0</property>
144
 
              </packing>
145
 
            </child>
146
 
            <child>
147
 
              <object class="GtkHBox" id="hbox1">
148
 
                <property name="visible">True</property>
149
 
                <child>
150
 
                  <object class="GtkButton" id="remove_button">
151
 
                    <property name="label">gtk-remove</property>
152
 
                    <property name="visible">True</property>
153
 
                    <property name="can_focus">True</property>
154
 
                    <property name="receives_default">True</property>
155
 
                    <property name="use_stock">True</property>
156
 
                    <signal name="clicked" handler="on_remove_button_clicked"/>
157
 
                  </object>
158
 
                  <packing>
159
 
                    <property name="position">0</property>
160
 
                  </packing>
161
 
                </child>
162
 
                <child>
163
 
                  <object class="GtkButton" id="add_button">
164
 
                    <property name="label">gtk-add</property>
165
 
                    <property name="visible">True</property>
166
 
                    <property name="can_focus">True</property>
167
 
                    <property name="receives_default">True</property>
168
 
                    <property name="use_stock">True</property>
169
 
                    <signal name="clicked" handler="on_add_button_activate"/>
170
 
                    <signal name="activate" handler="on_add_button_activate"/>
171
 
                  </object>
172
 
                  <packing>
173
 
                    <property name="position">1</property>
174
 
                  </packing>
175
 
                </child>
176
 
              </object>
177
 
              <packing>
178
 
                <property name="expand">False</property>
179
 
                <property name="padding">5</property>
180
 
                <property name="position">1</property>
181
 
              </packing>
182
 
            </child>
183
 
          </object>
184
 
          <packing>
185
 
            <property name="position">1</property>
186
 
          </packing>
187
 
        </child>
188
 
        <child internal-child="action_area">
189
 
          <object class="GtkHButtonBox" id="dialog-action_area1">
190
 
            <property name="visible">True</property>
191
 
            <property name="layout_style">end</property>
192
 
            <child>
193
 
              <object class="GtkButton" id="cancel_button">
194
 
                <property name="label">gtk-cancel</property>
195
 
                <property name="visible">True</property>
196
 
                <property name="can_focus">True</property>
197
 
                <property name="receives_default">True</property>
198
 
                <property name="use_stock">True</property>
199
 
              </object>
200
 
              <packing>
201
 
                <property name="expand">False</property>
202
 
                <property name="fill">False</property>
203
 
                <property name="position">0</property>
204
 
              </packing>
205
 
            </child>
206
 
            <child>
207
 
              <object class="GtkButton" id="connect_button">
208
 
                <property name="label">gtk-connect</property>
209
 
                <property name="visible">True</property>
210
 
                <property name="can_focus">True</property>
211
 
                <property name="receives_default">True</property>
212
 
                <property name="use_stock">True</property>
213
 
                <signal name="clicked" handler="on_connect_button_activate"/>
214
 
                <signal name="activate" handler="on_connect_button_activate"/>
215
 
              </object>
216
 
              <packing>
217
 
                <property name="expand">False</property>
218
 
                <property name="fill">False</property>
219
 
                <property name="position">1</property>
220
 
              </packing>
221
 
            </child>
222
 
          </object>
223
 
          <packing>
224
 
            <property name="expand">False</property>
225
 
            <property name="pack_type">end</property>
226
 
            <property name="position">0</property>
227
 
          </packing>
228
 
        </child>
229
 
      </object>
230
 
    </child>
231
 
    <action-widgets>
232
 
      <action-widget response="0">cancel_button</action-widget>
233
 
      <action-widget response="1">connect_button</action-widget>
234
 
    </action-widgets>
235
 
  </object>
236
 
</interface>