summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/anastasis_gtk_edit_providers.glade120
-rw-r--r--contrib/anastasis_gtk_main_window.glade6
-rw-r--r--src/anastasis/anastasis-gtk_action.c2
3 files changed, 64 insertions, 64 deletions
diff --git a/contrib/anastasis_gtk_edit_providers.glade b/contrib/anastasis_gtk_edit_providers.glade
index 7ca358c..6f0a06b 100644
--- a/contrib/anastasis_gtk_edit_providers.glade
+++ b/contrib/anastasis_gtk_edit_providers.glade
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.2
+<!-- Generated with glade 3.38.2
Copyright (C) 2019-2021 Anastasis SARL
@@ -46,41 +46,30 @@ Author: Christian Grothoff
</columns>
</object>
<object class="GtkDialog" id="edit_provider_dialog">
- <property name="can_focus">False</property>
+ <property name="can-focus">False</property>
<property name="modal">True</property>
- <property name="window_position">center</property>
- <property name="type_hint">dialog</property>
+ <property name="window-position">center</property>
+ <property name="type-hint">dialog</property>
<signal name="response" handler="edit_provider_dialog_response_cb" swapped="no"/>
- <child type="titlebar">
- <object class="GtkLabel">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Add Anastasis provider</property>
- </object>
- </child>
- <action-widgets>
- <action-widget response="-6">cancel_button</action-widget>
- <action-widget response="-10">close_button</action-widget>
- </action-widgets>
<child internal-child="vbox">
<object class="GtkBox">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can-focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="layout_style">end</property>
+ <property name="can-focus">False</property>
+ <property name="layout-style">end</property>
<child>
<object class="GtkButton" id="cancel_button">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- <property name="always_show_image">True</property>
+ <property name="can-focus">False</property>
+ <property name="receives-default">False</property>
+ <property name="use-stock">True</property>
+ <property name="always-show-image">True</property>
</object>
<packing>
<property name="expand">True</property>
@@ -92,10 +81,10 @@ Author: Christian Grothoff
<object class="GtkButton" id="close_button">
<property name="label">gtk-apply</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
- <property name="always_show_image">True</property>
+ <property name="can-focus">False</property>
+ <property name="receives-default">False</property>
+ <property name="use-stock">True</property>
+ <property name="always-show-image">True</property>
</object>
<packing>
<property name="expand">True</property>
@@ -113,17 +102,17 @@ Author: Christian Grothoff
<child>
<object class="GtkBox">
<property name="visible">True</property>
- <property name="can_focus">True</property>
+ <property name="can-focus">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
- <property name="can_focus">True</property>
+ <property name="can-focus">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="margin_left">10</property>
+ <property name="can-focus">False</property>
+ <property name="margin-left">10</property>
<property name="label" translatable="yes">Provider URL:</property>
</object>
<packing>
@@ -136,15 +125,15 @@ Author: Christian Grothoff
<child>
<object class="GtkEntry" id="url_entry">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="has_focus">True</property>
- <property name="is_focus">True</property>
- <property name="activates_default">True</property>
- <property name="width_chars">54</property>
- <property name="primary_icon_stock">gtk-edit</property>
- <property name="secondary_icon_activatable">False</property>
- <property name="secondary_icon_sensitive">False</property>
- <property name="placeholder_text" translatable="yes">https://</property>
+ <property name="can-focus">True</property>
+ <property name="has-focus">True</property>
+ <property name="is-focus">True</property>
+ <property name="activates-default">True</property>
+ <property name="width-chars">54</property>
+ <property name="primary-icon-stock">gtk-edit</property>
+ <property name="secondary-icon-activatable">False</property>
+ <property name="secondary-icon-sensitive">False</property>
+ <property name="placeholder-text" translatable="yes">https://</property>
<signal name="changed" handler="url_entry_changed_cb" swapped="no"/>
</object>
<packing>
@@ -159,11 +148,11 @@ Author: Christian Grothoff
<property name="label">gtk-add</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
- <property name="can_focus">False</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>
+ <property name="can-focus">False</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>
<signal name="clicked" handler="url_add_button_clicked_cb" swapped="no"/>
</object>
<packing>
@@ -183,28 +172,28 @@ Author: Christian Grothoff
<child>
<object class="GtkBox">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can-focus">False</property>
<child>
<object class="GtkFrame">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="margin_top">10</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
+ <property name="can-focus">False</property>
+ <property name="margin-top">10</property>
+ <property name="label-xalign">0</property>
+ <property name="shadow-type">none</property>
<child>
<object class="GtkAlignment">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="left_padding">12</property>
+ <property name="can-focus">False</property>
+ <property name="left-padding">12</property>
<child>
<object class="GtkViewport">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can-focus">False</property>
<child>
<object class="GtkTreeView" id="provider_tree_view">
- <property name="height_request">300</property>
+ <property name="height-request">300</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can-focus">False</property>
<property name="model">provider_liststore</property>
<signal name="button-press-event" handler="provider_tree_view_button_press_event_cb" swapped="no"/>
<child internal-child="selection">
@@ -217,8 +206,8 @@ Author: Christian Grothoff
<property name="spacing">5</property>
<property name="title" translatable="yes">Use</property>
<property name="reorderable">True</property>
- <property name="sort_indicator">True</property>
- <property name="sort_column_id">6</property>
+ <property name="sort-indicator">True</property>
+ <property name="sort-column-id">6</property>
<child>
<object class="GtkCellRendererToggle" id="use_toggle"/>
<attributes>
@@ -251,7 +240,7 @@ Author: Christian Grothoff
<child>
<object class="GtkCellRendererText" id="liability_limit_text"/>
<attributes>
- <attribute name="visible">7</attribute>
+ <attribute name="visible">5</attribute>
<attribute name="text">3</attribute>
</attributes>
</child>
@@ -262,8 +251,8 @@ Author: Christian Grothoff
<property name="spacing">5</property>
<property name="title" translatable="yes">Status</property>
<property name="reorderable">True</property>
- <property name="sort_indicator">True</property>
- <property name="sort_column_id">6</property>
+ <property name="sort-indicator">True</property>
+ <property name="sort-column-id">6</property>
<child>
<object class="GtkCellRendererText" id="status"/>
<attributes>
@@ -282,7 +271,7 @@ Author: Christian Grothoff
<child type="label">
<object class="GtkLabel">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can-focus">False</property>
<property name="label" translatable="yes">Known providers</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -317,5 +306,16 @@ Author: Christian Grothoff
<action-widget response="-6">cancel_button</action-widget>
<action-widget response="-10">close_button</action-widget>
</action-widgets>
+ <child type="titlebar">
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes">Add Anastasis provider</property>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-6">cancel_button</action-widget>
+ <action-widget response="-10">close_button</action-widget>
+ </action-widgets>
</object>
</interface>
diff --git a/contrib/anastasis_gtk_main_window.glade b/contrib/anastasis_gtk_main_window.glade
index 53ee01c..8ffb93f 100644
--- a/contrib/anastasis_gtk_main_window.glade
+++ b/contrib/anastasis_gtk_main_window.glade
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.38.2
+<!-- Generated with glade 3.38.2
Copyright (C) 2019-2021 Anastasis SARL
@@ -1790,7 +1790,7 @@ with &lt;a href="https://www.ngi.eu/ngi-projects/ledger/"&gt;funding&lt;/a&gt; f
<property name="shadow-type">none</property>
<child>
<!-- n-columns=4 n-rows=2 -->
- <object class="GtkGrid" id="auth_button_grid">
+ <object class="GtkGrid" id="anastasis_gtk_auth_button_grid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="row-spacing">5</property>
@@ -2129,7 +2129,7 @@ with &lt;a href="https://www.ngi.eu/ngi-projects/ledger/"&gt;funding&lt;/a&gt; f
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<property name="label" translatable="yes">Each recovery policy specifies a combination of authentication methods sufficient to recover the secret.
-Please review the recovery policies for the secret you are about to back up.
+Please review the recovery policies for the secret you are about to back up.
If the automatically generated recovery policies are inadequate for your use case, use right-click to add, edit or delete policies.
You can also use "back" to add additional authentication methods.</property>
<property name="wrap">True</property>
diff --git a/src/anastasis/anastasis-gtk_action.c b/src/anastasis/anastasis-gtk_action.c
index f36fa6e..921df60 100644
--- a/src/anastasis/anastasis-gtk_action.c
+++ b/src/anastasis/anastasis-gtk_action.c
@@ -695,7 +695,7 @@ action_authentications_editing (void)
bool have_auth;
AG_hide_all_frames ();
- AG_insensitive_children ("anastasis_gtk_add_auth_button_box");
+ AG_insensitive_children ("anastasis_gtk_auth_button_grid");
aps = json_object_get (AG_redux_state,
"authentication_providers");
{