summaryrefslogtreecommitdiff
path: root/xmlsecurity/uiconfig
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-14 23:04:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-15 08:50:08 +0000
commitc163123e1f1ffb7bcaa8f2f09f2830fdfabcaef3 (patch)
tree3b614e9ce8deed886d844799b8c6f73fd59d821f /xmlsecurity/uiconfig
parent62726df969887cf6578a0f69c6c3dc8f689a3b06 (diff)
adapt macro security dialog code to .ui
Change-Id: I0527ff30508bd7fd9182ff0bfec87aef7907f1fb
Diffstat (limited to 'xmlsecurity/uiconfig')
-rw-r--r--xmlsecurity/uiconfig/ui/macrosecuritydialog.ui11
-rw-r--r--xmlsecurity/uiconfig/ui/securitylevelpage.ui9
2 files changed, 14 insertions, 6 deletions
diff --git a/xmlsecurity/uiconfig/ui/macrosecuritydialog.ui b/xmlsecurity/uiconfig/ui/macrosecuritydialog.ui
index dd489269d94c..08cc2540b2ee 100644
--- a/xmlsecurity/uiconfig/ui/macrosecuritydialog.ui
+++ b/xmlsecurity/uiconfig/ui/macrosecuritydialog.ui
@@ -20,6 +20,8 @@
<property name="label">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
<property name="receives_default">True</property>
<property name="use_stock">True</property>
</object>
@@ -59,10 +61,11 @@
</child>
<child>
<object class="GtkButton" id="reset">
- <property name="label" translatable="yes">~Reset</property>
+ <property name="label">gtk-revert-to-saved</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <property name="use_stock">True</property>
</object>
<packing>
<property name="expand">False</property>
@@ -79,9 +82,11 @@
</packing>
</child>
<child>
- <object class="GtkNotebook" id="notebook1">
+ <object class="GtkNotebook" id="tabcontrol">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
<child>
<placeholder/>
</child>
@@ -99,7 +104,7 @@
<placeholder/>
</child>
<child type="tab">
- <object class="GtkLabel" id="label2">
+ <object class="GtkLabel" id="SecurityTrustPage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Trusted Sources</property>
diff --git a/xmlsecurity/uiconfig/ui/securitylevelpage.ui b/xmlsecurity/uiconfig/ui/securitylevelpage.ui
index 9e004dd5a94f..321418c0e7b1 100644
--- a/xmlsecurity/uiconfig/ui/securitylevelpage.ui
+++ b/xmlsecurity/uiconfig/ui/securitylevelpage.ui
@@ -11,7 +11,8 @@
<child>
<object class="GtkRadioButton" id="low:wrap">
<property name="label" translatable="yes">_Low (not recommended).
-All macros will be executed without confirmation. Use this setting only if you are certain that all documents that will be opened are safe.</property>
+All macros will be executed without confirmation.
+Use this setting only if you are certain that all documents that will be opened are safe.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -49,7 +50,8 @@ Confirmation required before executing macros from untrusted sources.</property>
<child>
<object class="GtkRadioButton" id="high:wrap">
<property name="label" translatable="yes">H_igh.
-Only signed macros from trusted sources are allowed to run. Unsigned macros are disabled.</property>
+Only signed macros from trusted sources are allowed to run.
+Unsigned macros are disabled.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@@ -69,7 +71,8 @@ Only signed macros from trusted sources are allowed to run. Unsigned macros are
<child>
<object class="GtkRadioButton" id="vhigh:wrap">
<property name="label" translatable="yes">_Very high.
-Only macros from trusted file locations are allowed to run. All other macros, regardless whether signed or not, are disabled.</property>
+Only macros from trusted file locations are allowed to run.
+All other macros, regardless whether signed or not, are disabled.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>