summaryrefslogtreecommitdiffstats
path: root/sfx2/uiconfig
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-06-15 12:08:35 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-06-17 23:31:30 +0200
commit6afcbdf2fbe159eac03a86dfd76f5d8df4a41fe5 (patch)
treead4ddc8df92b0ee938c6fcce8ada04157b644a75 /sfx2/uiconfig
parentUse utl::TextSearch in the auto redaction process (diff)
downloadcore-6afcbdf2fbe159eac03a86dfd76f5d8df4a41fe5.tar.gz
core-6afcbdf2fbe159eac03a86dfd76f5d8df4a41fe5.zip
Add predefined targets to auto redaction
Change-Id: Ib8cf8b50944667d6a87a5cafb6995ad195699358 Reviewed-on: https://gerrit.libreoffice.org/74092 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/74233 Tested-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sfx2/uiconfig')
-rw-r--r--sfx2/uiconfig/ui/addtargetdialog.ui52
1 files changed, 47 insertions, 5 deletions
diff --git a/sfx2/uiconfig/ui/addtargetdialog.ui b/sfx2/uiconfig/ui/addtargetdialog.ui
index 3d45c7a240bd..d4283222fb65 100644
--- a/sfx2/uiconfig/ui/addtargetdialog.ui
+++ b/sfx2/uiconfig/ui/addtargetdialog.ui
@@ -24,8 +24,8 @@
<object class="GtkButtonBox">
<property name="can_focus">False</property>
<child>
- <object class="GtkButton" id="cancel">
- <property name="label">gtk-cancel</property>
+ <object class="GtkButton" id="close">
+ <property name="label">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -39,8 +39,8 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="close">
- <property name="label">gtk-ok</property>
+ <object class="GtkButton" id="cancel">
+ <property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
@@ -145,6 +145,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="margin_left">2</property>
+ <property name="margin_bottom">2</property>
<property name="activates_default">True</property>
<accessibility>
<relation type="labelled-by" target="label_content"/>
@@ -159,6 +160,9 @@
<object class="GtkComboBoxText" id="type">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="margin_left">2</property>
+ <property name="margin_bottom">2</property>
+ <property name="active">0</property>
<items>
<item id="text" translatable="yes" context="addtargetdialog|type">Text</item>
<item id="regex" translatable="yes" context="addtargetdialog|type">Regex</item>
@@ -173,6 +177,44 @@
<property name="top_attach">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkLabel" id="label_content_predef">
+ <property name="sensitive">False</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="addtargetdialog|label_content_predef">Content:</property>
+ <property name="use_underline">True</property>
+ <accessibility>
+ <relation type="label-for" target="content_predef"/>
+ </accessibility>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="content_predef">
+ <property name="sensitive">False</property>
+ <property name="can_focus">False</property>
+ <property name="margin_left">2</property>
+ <property name="active">0</property>
+ <items>
+ <item id="creditcard" translatable="yes" context="addtargetdialog|content_predef">Credit card numbers</item>
+ <item id="email" translatable="yes" context="addtargetdialog|content_predef">Email addresses</item>
+ <item id="ip" translatable="yes" context="addtargetdialog|content_predef">IP addresses</item>
+ <item id="numdates" translatable="yes" context="addtargetdialog|content_predef">Dates (Numerical)</item>
+ <item id="uknin" translatable="yes" context="addtargetdialog|content_predef">National Insurance Number (UK)</item>
+ <item id="usssn" translatable="yes" context="addtargetdialog|content_predef">Social Security Number (US)</item>
+ </items>
+ <accessibility>
+ <relation type="labelled-by" target="label_content_predef"/>
+ </accessibility>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">3</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -227,8 +269,8 @@
</object>
</child>
<action-widgets>
- <action-widget response="-6">cancel</action-widget>
<action-widget response="-5">close</action-widget>
+ <action-widget response="-6">cancel</action-widget>
<action-widget response="-11">help</action-widget>
</action-widgets>
</object>