1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Generated with glade 3.16.1 -->
4
<requires lib="gtk+" version="3.10"/>
5
<object class="GtkDialog" id="UpdateRule">
6
<property name="can_focus">False</property>
7
<property name="border_width">5</property>
8
<property name="title" translatable="yes">Update a Firewall Rule</property>
9
<property name="resizable">False</property>
10
<property name="modal">True</property>
11
<property name="type_hint">dialog</property>
12
<signal name="delete-event" handler="on_UpdateRule_delete_event" swapped="no"/>
13
<child internal-child="vbox">
14
<object class="GtkBox" id="dialog-vbox1">
15
<property name="can_focus">False</property>
16
<property name="orientation">vertical</property>
17
<property name="spacing">2</property>
18
<child internal-child="action_area">
19
<object class="GtkButtonBox" id="dialog-action_area1">
20
<property name="can_focus">False</property>
21
<property name="margin_top">8</property>
22
<property name="layout_style">end</property>
24
<object class="GtkButton" id="btnUpdateCancel">
25
<property name="label">gtk-cancel</property>
26
<property name="use_action_appearance">False</property>
27
<property name="visible">True</property>
28
<property name="can_focus">True</property>
29
<property name="has_focus">True</property>
30
<property name="receives_default">True</property>
31
<property name="use_stock">True</property>
32
<signal name="clicked" handler="on_btnUpdateCancel_clicked" swapped="no"/>
35
<property name="expand">False</property>
36
<property name="fill">True</property>
37
<property name="position">0</property>
41
<object class="GtkButton" id="btnUpdate">
42
<property name="label">gtk-apply</property>
43
<property name="use_action_appearance">False</property>
44
<property name="visible">True</property>
45
<property name="can_focus">True</property>
46
<property name="receives_default">True</property>
47
<property name="use_stock">True</property>
48
<signal name="clicked" handler="on_btnUpdate_clicked" swapped="no"/>
51
<property name="expand">False</property>
52
<property name="fill">True</property>
53
<property name="position">1</property>
58
<property name="expand">False</property>
59
<property name="fill">True</property>
60
<property name="pack_type">end</property>
61
<property name="position">-1</property>
65
<object class="GtkBox" id="box1">
66
<property name="visible">True</property>
67
<property name="can_focus">False</property>
68
<property name="orientation">vertical</property>
70
<object class="GtkGrid" id="grid3">
71
<property name="visible">True</property>
72
<property name="can_focus">False</property>
73
<property name="halign">start</property>
74
<property name="valign">start</property>
75
<property name="margin_left">6</property>
76
<property name="margin_right">6</property>
77
<property name="margin_top">6</property>
78
<property name="margin_bottom">6</property>
79
<property name="row_spacing">3</property>
80
<property name="column_spacing">12</property>
82
<object class="GtkLabel" id="label16">
83
<property name="visible">True</property>
84
<property name="can_focus">False</property>
85
<property name="xalign">0</property>
86
<property name="label" translatable="yes">Policy:</property>
87
<property name="use_underline">True</property>
88
<property name="mnemonic_widget">update_policy</property>
91
<property name="left_attach">0</property>
92
<property name="top_attach">1</property>
93
<property name="width">1</property>
94
<property name="height">1</property>
98
<object class="GtkLabel" id="advanced_direction_lbl">
99
<property name="visible">True</property>
100
<property name="can_focus">False</property>
101
<property name="xalign">0</property>
102
<property name="label" translatable="yes">Direction:</property>
103
<property name="use_underline">True</property>
104
<property name="mnemonic_widget">update_direction</property>
107
<property name="left_attach">0</property>
108
<property name="top_attach">2</property>
109
<property name="width">1</property>
110
<property name="height">1</property>
114
<object class="GtkLabel" id="advanced_log_lbl">
115
<property name="visible">True</property>
116
<property name="can_focus">False</property>
117
<property name="xalign">0</property>
118
<property name="label" translatable="yes">Log:</property>
119
<property name="use_underline">True</property>
120
<property name="mnemonic_widget">update_log</property>
123
<property name="left_attach">0</property>
124
<property name="top_attach">4</property>
125
<property name="width">1</property>
126
<property name="height">1</property>
130
<object class="GtkLabel" id="label19">
131
<property name="visible">True</property>
132
<property name="can_focus">False</property>
133
<property name="xalign">0</property>
134
<property name="label" translatable="yes">Protocol:</property>
135
<property name="use_underline">True</property>
136
<property name="mnemonic_widget">update_protocol</property>
139
<property name="left_attach">0</property>
140
<property name="top_attach">5</property>
141
<property name="width">1</property>
142
<property name="height">1</property>
146
<object class="GtkComboBoxText" id="update_policy">
147
<property name="visible">True</property>
148
<property name="can_focus">False</property>
149
<property name="active">1</property>
151
<item translatable="yes">Allow</item>
152
<item translatable="yes">Deny</item>
153
<item translatable="yes">Reject</item>
154
<item translatable="yes">Limit</item>
158
<property name="left_attach">1</property>
159
<property name="top_attach">1</property>
160
<property name="width">1</property>
161
<property name="height">1</property>
165
<object class="GtkComboBoxText" id="update_direction">
166
<property name="visible">True</property>
167
<property name="can_focus">False</property>
168
<property name="active">0</property>
170
<item translatable="yes">In</item>
171
<item translatable="yes">Out</item>
175
<property name="left_attach">1</property>
176
<property name="top_attach">2</property>
177
<property name="width">1</property>
178
<property name="height">1</property>
182
<object class="GtkComboBoxText" id="update_log">
183
<property name="visible">True</property>
184
<property name="can_focus">False</property>
185
<property name="active">0</property>
187
<item translatable="yes">Do not Log</item>
188
<item translatable="yes">Log</item>
189
<item translatable="yes">Log All</item>
193
<property name="left_attach">1</property>
194
<property name="top_attach">4</property>
195
<property name="width">1</property>
196
<property name="height">1</property>
200
<object class="GtkComboBoxText" id="update_protocol">
201
<property name="visible">True</property>
202
<property name="can_focus">False</property>
203
<property name="active">0</property>
205
<item translatable="yes">Both</item>
206
<item translatable="yes">TCP</item>
207
<item translatable="yes">UDP</item>
209
<signal name="changed" handler="on_update_protocol_changed" swapped="no"/>
212
<property name="left_attach">1</property>
213
<property name="top_attach">5</property>
214
<property name="width">1</property>
215
<property name="height">1</property>
219
<object class="GtkLabel" id="label20">
220
<property name="visible">True</property>
221
<property name="can_focus">False</property>
222
<property name="xalign">0</property>
223
<property name="label" translatable="yes">From:</property>
224
<property name="use_underline">True</property>
225
<property name="mnemonic_widget">box2</property>
228
<property name="left_attach">0</property>
229
<property name="top_attach">6</property>
230
<property name="width">1</property>
231
<property name="height">1</property>
235
<object class="GtkLabel" id="label21">
236
<property name="visible">True</property>
237
<property name="can_focus">False</property>
238
<property name="xalign">0</property>
239
<property name="label" translatable="yes">To:</property>
240
<property name="use_underline">True</property>
241
<property name="mnemonic_widget">box3</property>
244
<property name="left_attach">0</property>
245
<property name="top_attach">7</property>
246
<property name="width">1</property>
247
<property name="height">1</property>
251
<object class="GtkBox" id="box2">
252
<property name="visible">True</property>
253
<property name="can_focus">False</property>
255
<object class="GtkEntry" id="update_from_ip">
256
<property name="visible">True</property>
257
<property name="can_focus">True</property>
258
<property name="invisible_char">•</property>
259
<property name="width_chars">19</property>
260
<property name="secondary_icon_stock">gtk-clear</property>
261
<property name="placeholder_text" translatable="yes">IP</property>
262
<signal name="icon-press" handler="on_update_from_ip_icon_press" swapped="no"/>
265
<property name="expand">False</property>
266
<property name="fill">True</property>
267
<property name="position">0</property>
271
<object class="GtkButton" id="update_copy_from_IP">
272
<property name="use_action_appearance">False</property>
273
<property name="visible">True</property>
274
<property name="can_focus">True</property>
275
<property name="receives_default">True</property>
276
<property name="has_tooltip">True</property>
277
<property name="tooltip_markup" translatable="yes">Paste your current local IP</property>
278
<property name="tooltip_text" translatable="yes">Paste your current local IP</property>
279
<property name="margin_left">6</property>
280
<property name="margin_right">6</property>
281
<signal name="clicked" handler="on_update_copy_from_IP_clicked" swapped="no"/>
283
<object class="GtkImage" id="image4">
284
<property name="visible">True</property>
285
<property name="can_focus">False</property>
286
<property name="stock">gtk-paste</property>
291
<property name="expand">False</property>
292
<property name="fill">True</property>
293
<property name="position">1</property>
297
<object class="GtkEntry" id="update_from_port">
298
<property name="visible">True</property>
299
<property name="can_focus">True</property>
300
<property name="has_tooltip">True</property>
301
<property name="tooltip_markup" translatable="yes">You can write a port as '22' or a port range as '22:24'</property>
302
<property name="tooltip_text" translatable="yes">You can write a port as '22' or a port range as '22:24'</property>
303
<property name="invisible_char">•</property>
304
<property name="width_chars">15</property>
305
<property name="secondary_icon_stock">gtk-clear</property>
306
<property name="placeholder_text" translatable="yes">Port</property>
307
<signal name="changed" handler="on_update_from_port_changed" swapped="no"/>
308
<signal name="icon-press" handler="on_update_from_port_icon_press" swapped="no"/>
311
<property name="expand">False</property>
312
<property name="fill">False</property>
313
<property name="position">3</property>
318
<property name="left_attach">1</property>
319
<property name="top_attach">6</property>
320
<property name="width">1</property>
321
<property name="height">1</property>
325
<object class="GtkBox" id="box3">
326
<property name="visible">True</property>
327
<property name="can_focus">False</property>
329
<object class="GtkEntry" id="update_to_ip">
330
<property name="visible">True</property>
331
<property name="can_focus">True</property>
332
<property name="invisible_char">•</property>
333
<property name="width_chars">19</property>
334
<property name="secondary_icon_stock">gtk-clear</property>
335
<property name="placeholder_text" translatable="yes">IP</property>
336
<signal name="icon-press" handler="on_update_to_ip_icon_press" swapped="no"/>
339
<property name="expand">False</property>
340
<property name="fill">True</property>
341
<property name="position">0</property>
345
<object class="GtkButton" id="update_copy_to_IP">
346
<property name="use_action_appearance">False</property>
347
<property name="visible">True</property>
348
<property name="can_focus">True</property>
349
<property name="receives_default">True</property>
350
<property name="has_tooltip">True</property>
351
<property name="tooltip_markup" translatable="yes">Paste your current local IP</property>
352
<property name="tooltip_text" translatable="yes">Paste your current local IP</property>
353
<property name="margin_left">6</property>
354
<property name="margin_right">6</property>
355
<signal name="clicked" handler="on_update_copy_to_IP_clicked" swapped="no"/>
357
<object class="GtkImage" id="image5">
358
<property name="visible">True</property>
359
<property name="can_focus">False</property>
360
<property name="stock">gtk-paste</property>
365
<property name="expand">False</property>
366
<property name="fill">True</property>
367
<property name="position">1</property>
371
<object class="GtkEntry" id="update_to_port">
372
<property name="visible">True</property>
373
<property name="can_focus">True</property>
374
<property name="has_tooltip">True</property>
375
<property name="tooltip_text" translatable="yes">You can write a port as '22' or a port range as '22:24'.
376
If you're editing a Preconfigured or Simple rule, Interface field must be 'All Interfaces' and the IPs and From Port fields must be empty.</property>
377
<property name="invisible_char">•</property>
378
<property name="width_chars">15</property>
379
<property name="secondary_icon_stock">gtk-clear</property>
380
<property name="placeholder_text" translatable="yes">Port</property>
381
<signal name="changed" handler="on_update_to_port_changed" swapped="no"/>
382
<signal name="icon-press" handler="on_update_to_port_icon_press" swapped="no"/>
385
<property name="expand">False</property>
386
<property name="fill">False</property>
387
<property name="position">2</property>
392
<property name="left_attach">1</property>
393
<property name="top_attach">7</property>
394
<property name="width">1</property>
395
<property name="height">1</property>
399
<object class="GtkLabel" id="label7">
400
<property name="visible">True</property>
401
<property name="can_focus">False</property>
402
<property name="xalign">0</property>
403
<property name="label" translatable="yes">Name:</property>
404
<property name="use_underline">True</property>
405
<property name="mnemonic_widget">update_rule_name</property>
408
<property name="left_attach">0</property>
409
<property name="top_attach">0</property>
410
<property name="width">1</property>
411
<property name="height">1</property>
415
<object class="GtkEntry" id="update_rule_name">
416
<property name="visible">True</property>
417
<property name="can_focus">True</property>
418
<property name="invisible_char">•</property>
419
<property name="secondary_icon_stock">gtk-clear</property>
420
<property name="placeholder_text" translatable="yes">Rule Description</property>
421
<signal name="icon-press" handler="on_update_rule_name_icon_press" swapped="no"/>
424
<property name="left_attach">1</property>
425
<property name="top_attach">0</property>
426
<property name="width">1</property>
427
<property name="height">1</property>
431
<object class="GtkLabel" id="advanced_iface_lbl1">
432
<property name="visible">True</property>
433
<property name="can_focus">False</property>
434
<property name="xalign">0</property>
435
<property name="label" translatable="yes">Interface:</property>
436
<property name="use_underline">True</property>
439
<property name="left_attach">0</property>
440
<property name="top_attach">3</property>
441
<property name="width">1</property>
442
<property name="height">1</property>
446
<object class="GtkBox" id="box4">
447
<property name="visible">True</property>
448
<property name="can_focus">False</property>
450
<object class="GtkComboBoxText" id="update_iface">
451
<property name="visible">True</property>
452
<property name="can_focus">False</property>
453
<property name="active">0</property>
454
<signal name="changed" handler="on_update_iface_changed" swapped="no"/>
457
<property name="expand">True</property>
458
<property name="fill">True</property>
459
<property name="position">0</property>
463
<object class="GtkImage" id="update_routed_img">
464
<property name="visible">True</property>
465
<property name="can_focus">False</property>
466
<property name="margin_left">6</property>
467
<property name="margin_right">6</property>
468
<property name="stock">gtk-go-forward</property>
471
<property name="expand">False</property>
472
<property name="fill">True</property>
473
<property name="position">1</property>
477
<object class="GtkComboBoxText" id="update_routed">
478
<property name="visible">True</property>
479
<property name="can_focus">False</property>
480
<property name="tooltip_text" translatable="yes">You need to set an Interface</property>
481
<property name="active">0</property>
484
<property name="expand">True</property>
485
<property name="fill">True</property>
486
<property name="position">2</property>
491
<property name="left_attach">1</property>
492
<property name="top_attach">3</property>
493
<property name="width">1</property>
494
<property name="height">1</property>
499
<property name="expand">False</property>
500
<property name="fill">True</property>
501
<property name="position">0</property>
505
<object class="GtkInfoBar" id="warningbox">
506
<property name="app_paintable">True</property>
507
<property name="can_focus">False</property>
508
<property name="margin_left">6</property>
509
<property name="margin_right">6</property>
510
<property name="margin_top">6</property>
511
<property name="orientation">vertical</property>
512
<child internal-child="action_area">
513
<object class="GtkButtonBox" id="infobar-action_area5">
514
<property name="can_focus">False</property>
517
<property name="expand">False</property>
518
<property name="fill">True</property>
519
<property name="position">1</property>
522
<child internal-child="content_area">
523
<object class="GtkBox" id="infobar-content_area5">
524
<property name="can_focus">False</property>
525
<property name="border_width">8</property>
526
<property name="spacing">16</property>
528
<object class="GtkLabel" id="lbl_preconfig_info">
529
<property name="visible">True</property>
530
<property name="can_focus">False</property>
531
<property name="label" translatable="yes" comments="Sort translation, please!">The rule will be moved to the end of the list</property>
532
<property name="use_underline">True</property>
533
<property name="mnemonic_widget">warningbox</property>
536
<property name="expand">True</property>
537
<property name="fill">True</property>
538
<property name="position">0</property>
543
<property name="expand">True</property>
544
<property name="fill">True</property>
545
<property name="position">0</property>
550
<property name="expand">False</property>
551
<property name="fill">True</property>
552
<property name="position">1</property>
557
<property name="expand">False</property>
558
<property name="fill">True</property>
559
<property name="position">1</property>
565
<action-widget response="0">btnUpdateCancel</action-widget>
566
<action-widget response="0">btnUpdate</action-widget>
569
<object class="GtkAdjustment" id="adjustment_update_rule">
570
<property name="upper">999</property>
571
<property name="step_increment">1</property>
572
<property name="page_increment">10</property>