diff options
Diffstat (limited to 'contrib/publish-directory-dialog.glade')
-rw-r--r-- | contrib/publish-directory-dialog.glade | 154 |
1 files changed, 152 insertions, 2 deletions
diff --git a/contrib/publish-directory-dialog.glade b/contrib/publish-directory-dialog.glade index 03a28f34..25290803 100644 --- a/contrib/publish-directory-dialog.glade +++ b/contrib/publish-directory-dialog.glade | |||
@@ -2,20 +2,156 @@ | |||
2 | <interface> | 2 | <interface> |
3 | <requires lib="gtk+" version="2.20"/> | 3 | <requires lib="gtk+" version="2.20"/> |
4 | <!-- interface-naming-policy project-wide --> | 4 | <!-- interface-naming-policy project-wide --> |
5 | <object class="GtkAdjustment" id="anonymity_adjustment"> | ||
6 | <property name="upper">10000000</property> | ||
7 | <property name="value">1</property> | ||
8 | <property name="step_increment">1</property> | ||
9 | <property name="page_increment">10</property> | ||
10 | </object> | ||
5 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_directory_dialog"> | 11 | <object class="GtkFileChooserDialog" id="GNUNET_GTK_publish_directory_dialog"> |
6 | <property name="can_default">True</property> | 12 | <property name="can_default">True</property> |
7 | <property name="border_width">5</property> | 13 | <property name="border_width">5</property> |
8 | <property name="type_hint">normal</property> | 14 | <property name="type_hint">normal</property> |
9 | <property name="has_separator">False</property> | 15 | <property name="has_separator">False</property> |
10 | <property name="select_multiple">True</property> | ||
11 | <property name="action">select-folder</property> | 16 | <property name="action">select-folder</property> |
12 | <property name="create_folders">False</property> | 17 | <property name="create_folders">False</property> |
18 | <property name="select_multiple">True</property> | ||
13 | <child internal-child="vbox"> | 19 | <child internal-child="vbox"> |
14 | <object class="GtkVBox" id="dialog-vbox2"> | 20 | <object class="GtkVBox" id="dialog-vbox2"> |
15 | <property name="visible">True</property> | 21 | <property name="visible">True</property> |
16 | <property name="spacing">2</property> | 22 | <property name="spacing">2</property> |
17 | <child> | 23 | <child> |
18 | <placeholder/> | 24 | <object class="GtkVBox" id="vbox1"> |
25 | <property name="visible">True</property> | ||
26 | <child> | ||
27 | <object class="GtkHBox" id="hbox1"> | ||
28 | <property name="visible">True</property> | ||
29 | <child> | ||
30 | <object class="GtkCheckButton" id="GNUNET_GTK_publish_directory_dialog_do_index_checkbutton"> | ||
31 | <property name="label" translatable="yes">Index files</property> | ||
32 | <property name="visible">True</property> | ||
33 | <property name="can_focus">True</property> | ||
34 | <property name="receives_default">False</property> | ||
35 | <property name="use_action_appearance">False</property> | ||
36 | <property name="use_underline">True</property> | ||
37 | <property name="active">True</property> | ||
38 | <property name="draw_indicator">True</property> | ||
39 | </object> | ||
40 | <packing> | ||
41 | <property name="expand">False</property> | ||
42 | <property name="fill">False</property> | ||
43 | <property name="padding">20</property> | ||
44 | <property name="position">0</property> | ||
45 | </packing> | ||
46 | </child> | ||
47 | <child> | ||
48 | <placeholder/> | ||
49 | </child> | ||
50 | <child> | ||
51 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_priority_label"> | ||
52 | <property name="visible">True</property> | ||
53 | <property name="label" translatable="yes">Priority:</property> | ||
54 | </object> | ||
55 | <packing> | ||
56 | <property name="expand">False</property> | ||
57 | <property name="padding">13</property> | ||
58 | <property name="position">2</property> | ||
59 | </packing> | ||
60 | </child> | ||
61 | <child> | ||
62 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_priority_spin_button"> | ||
63 | <property name="visible">True</property> | ||
64 | <property name="can_focus">True</property> | ||
65 | <property name="invisible_char">•</property> | ||
66 | <property name="adjustment">priority_adjustment</property> | ||
67 | <property name="numeric">True</property> | ||
68 | </object> | ||
69 | <packing> | ||
70 | <property name="expand">False</property> | ||
71 | <property name="padding">20</property> | ||
72 | <property name="position">3</property> | ||
73 | </packing> | ||
74 | </child> | ||
75 | </object> | ||
76 | <packing> | ||
77 | <property name="expand">False</property> | ||
78 | <property name="fill">False</property> | ||
79 | <property name="position">0</property> | ||
80 | </packing> | ||
81 | </child> | ||
82 | <child> | ||
83 | <object class="GtkHBox" id="hbox2"> | ||
84 | <property name="visible">True</property> | ||
85 | <child> | ||
86 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_expiration_label"> | ||
87 | <property name="visible">True</property> | ||
88 | <property name="label" translatable="yes">Expires in:</property> | ||
89 | </object> | ||
90 | <packing> | ||
91 | <property name="expand">False</property> | ||
92 | <property name="fill">False</property> | ||
93 | <property name="padding">20</property> | ||
94 | <property name="position">0</property> | ||
95 | </packing> | ||
96 | </child> | ||
97 | <child> | ||
98 | <object class="GtkComboBox" id="GNUNET_GTK_publish_directory_dialog_expiration_combo_box"> | ||
99 | <property name="visible">True</property> | ||
100 | <property name="active">0</property> | ||
101 | <property name="model">GNUNET_GTK_publish_directory_dialog_expiration_list_store</property> | ||
102 | <child> | ||
103 | <object class="GtkCellRendererText" id="GNUNET_GTK_publish_directory_dialog_expiration_box_time_renderer"/> | ||
104 | <attributes> | ||
105 | <attribute name="text">0</attribute> | ||
106 | </attributes> | ||
107 | </child> | ||
108 | </object> | ||
109 | <packing> | ||
110 | <property name="expand">False</property> | ||
111 | <property name="fill">False</property> | ||
112 | <property name="padding">5</property> | ||
113 | <property name="position">1</property> | ||
114 | </packing> | ||
115 | </child> | ||
116 | <child> | ||
117 | <placeholder/> | ||
118 | </child> | ||
119 | <child> | ||
120 | <object class="GtkLabel" id="GNUNET_GTK_publish_directory_dialog_anonymity_label"> | ||
121 | <property name="visible">True</property> | ||
122 | <property name="label" translatable="yes">Anonymity:</property> | ||
123 | </object> | ||
124 | <packing> | ||
125 | <property name="expand">False</property> | ||
126 | <property name="padding">5</property> | ||
127 | <property name="position">3</property> | ||
128 | </packing> | ||
129 | </child> | ||
130 | <child> | ||
131 | <object class="GtkSpinButton" id="GNUNET_GTK_publish_directory_dialog_anonymity_spin_button"> | ||
132 | <property name="visible">True</property> | ||
133 | <property name="can_focus">True</property> | ||
134 | <property name="invisible_char">•</property> | ||
135 | <property name="adjustment">anonymity_adjustment</property> | ||
136 | <property name="numeric">True</property> | ||
137 | <signal name="value-changed" handler="GNUNET_GTK_anonymity_spin_button_value_changed_cb" swapped="no"/> | ||
138 | </object> | ||
139 | <packing> | ||
140 | <property name="expand">False</property> | ||
141 | <property name="padding">20</property> | ||
142 | <property name="position">4</property> | ||
143 | </packing> | ||
144 | </child> | ||
145 | </object> | ||
146 | <packing> | ||
147 | <property name="expand">False</property> | ||
148 | <property name="position">1</property> | ||
149 | </packing> | ||
150 | </child> | ||
151 | </object> | ||
152 | <packing> | ||
153 | <property name="position">2</property> | ||
154 | </packing> | ||
19 | </child> | 155 | </child> |
20 | <child internal-child="action_area"> | 156 | <child internal-child="action_area"> |
21 | <object class="GtkHButtonBox" id="dialog-action_area3"> | 157 | <object class="GtkHButtonBox" id="dialog-action_area3"> |
@@ -66,4 +202,18 @@ | |||
66 | <action-widget response="-5">GNUNET_GTK_publish_directory_dialog_ok_button</action-widget> | 202 | <action-widget response="-5">GNUNET_GTK_publish_directory_dialog_ok_button</action-widget> |
67 | </action-widgets> | 203 | </action-widgets> |
68 | </object> | 204 | </object> |
205 | <object class="GtkListStore" id="GNUNET_GTK_publish_directory_dialog_expiration_list_store"> | ||
206 | <columns> | ||
207 | <!-- column-name human_readable_time --> | ||
208 | <column type="gchararray"/> | ||
209 | <!-- column-name time_in_ms --> | ||
210 | <column type="guint64"/> | ||
211 | </columns> | ||
212 | </object> | ||
213 | <object class="GtkAdjustment" id="priority_adjustment"> | ||
214 | <property name="upper">100000000</property> | ||
215 | <property name="value">1000</property> | ||
216 | <property name="step_increment">1</property> | ||
217 | <property name="page_increment">10</property> | ||
218 | </object> | ||
69 | </interface> | 219 | </interface> |