~davefx/gnomint/trunk

261 by davefx
Migrating from libglade to GtkBuilder
1
<?xml version="1.0"?>
2
<interface>
3
  <requires lib="gtk+" version="2.16"/>
4
  <!-- interface-naming-policy project-wide -->
5
  <object class="GtkDialog" id="get_pkey_dialog">
6
    <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
7
    <property name="border_width">5</property>
8
    <property name="title" translatable="yes">Choose private key file. gnoMint</property>
9
    <property name="modal">True</property>
10
    <property name="window_position">center-on-parent</property>
11
    <property name="icon">gnomint.png</property>
12
    <property name="type_hint">dialog</property>
13
    <property name="has_separator">False</property>
14
    <child internal-child="vbox">
15
      <object class="GtkVBox" id="dialog-vbox20">
16
        <property name="visible">True</property>
17
        <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
18
        <property name="orientation">vertical</property>
19
        <property name="spacing">2</property>
20
        <child>
21
          <object class="GtkVBox" id="vbox18">
22
            <property name="visible">True</property>
23
            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
24
            <property name="orientation">vertical</property>
25
            <property name="spacing">20</property>
26
            <child>
27
              <object class="GtkLabel" id="label28">
28
                <property name="visible">True</property>
29
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
30
                <property name="xalign">0</property>
31
                <property name="yalign">0</property>
32
                <property name="label" translatable="yes">&lt;big&gt;Choose private key file&lt;/big&gt;
33
34
For doing the selected operation, you must provide the file where resides the private key corresponding to the certificate:</property>
35
                <property name="use_markup">True</property>
36
                <property name="wrap">True</property>
37
                <property name="wrap_mode">word-char</property>
38
                <property name="width_chars">40</property>
39
              </object>
40
              <packing>
41
                <property name="expand">False</property>
42
                <property name="fill">False</property>
43
                <property name="position">0</property>
44
              </packing>
45
            </child>
46
            <child>
47
              <object class="GtkLabel" id="cert_dn_label">
48
                <property name="visible">True</property>
49
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
50
                <property name="label" translatable="yes">Certificate DN</property>
51
              </object>
52
              <packing>
53
                <property name="position">1</property>
54
              </packing>
55
            </child>
56
            <child>
57
              <object class="GtkLabel" id="label31">
58
                <property name="visible">True</property>
59
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
60
                <property name="xalign">0</property>
61
                <property name="yalign">0</property>
62
                <property name="label" translatable="yes">Please, choose the file:</property>
63
                <property name="use_markup">True</property>
64
                <property name="wrap">True</property>
65
                <property name="wrap_mode">word-char</property>
66
                <property name="width_chars">40</property>
67
              </object>
68
              <packing>
69
                <property name="expand">False</property>
70
                <property name="fill">False</property>
71
                <property name="position">2</property>
72
              </packing>
73
            </child>
74
            <child>
75
              <object class="GtkFileChooserButton" id="pkey_filechooser">
76
                <property name="visible">True</property>
77
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
78
                <signal name="selection_changed" handler="pkey_manage_filechooser_file_set_cb"/>
79
              </object>
80
              <packing>
81
                <property name="expand">False</property>
82
                <property name="fill">False</property>
83
                <property name="position">3</property>
84
              </packing>
85
            </child>
86
            <child>
87
              <object class="GtkCheckButton" id="save_filename_checkbutton">
88
                <property name="label" translatable="yes">_Save filename in the database for automatic loading</property>
89
                <property name="visible">True</property>
90
                <property name="can_focus">True</property>
91
                <property name="receives_default">False</property>
92
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
93
                <property name="use_underline">True</property>
94
                <property name="draw_indicator">True</property>
95
              </object>
96
              <packing>
97
                <property name="expand">False</property>
98
                <property name="fill">False</property>
99
                <property name="position">4</property>
100
              </packing>
101
            </child>
102
          </object>
103
          <packing>
104
            <property name="padding">10</property>
105
            <property name="position">1</property>
106
          </packing>
107
        </child>
108
        <child internal-child="action_area">
109
          <object class="GtkHButtonBox" id="dialog-action_area20">
110
            <property name="visible">True</property>
111
            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
112
            <property name="layout_style">end</property>
113
            <child>
114
              <object class="GtkButton" id="button15">
115
                <property name="label" translatable="yes">gtk-cancel</property>
116
                <property name="visible">True</property>
117
                <property name="can_focus">True</property>
118
                <property name="receives_default">True</property>
119
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
120
                <property name="use_stock">True</property>
121
              </object>
122
              <packing>
123
                <property name="expand">False</property>
124
                <property name="fill">False</property>
125
                <property name="position">0</property>
126
              </packing>
127
            </child>
128
            <child>
129
              <object class="GtkButton" id="button7">
130
                <property name="label" translatable="yes">gtk-ok</property>
131
                <property name="visible">True</property>
132
                <property name="can_focus">True</property>
133
                <property name="receives_default">True</property>
134
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
135
                <property name="use_stock">True</property>
136
              </object>
137
              <packing>
138
                <property name="expand">False</property>
139
                <property name="fill">False</property>
140
                <property name="position">1</property>
141
              </packing>
142
            </child>
143
          </object>
144
          <packing>
145
            <property name="expand">False</property>
146
            <property name="padding">4</property>
147
            <property name="pack_type">end</property>
148
            <property name="position">0</property>
149
          </packing>
150
        </child>
151
      </object>
152
    </child>
153
    <action-widgets>
154
      <action-widget response="0">button15</action-widget>
155
      <action-widget response="1">button7</action-widget>
156
    </action-widgets>
157
  </object>
158
</interface>