[librest] demo: add info-popovers for oauth authentication
- From: Günther Wagner <gwagner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest] demo: add info-popovers for oauth authentication
- Date: Tue, 1 Feb 2022 22:09:04 +0000 (UTC)
commit 02735941f6542f08c7dc549f4998f65a60f13bce
Author: Günther Wagner <info gunibert de>
Date: Tue Feb 1 23:08:33 2022 +0100
demo: add info-popovers for oauth authentication
examples/demo/demo-rest-page.ui | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/examples/demo/demo-rest-page.ui b/examples/demo/demo-rest-page.ui
index 09d7c06..a5771c8 100644
--- a/examples/demo/demo-rest-page.ui
+++ b/examples/demo/demo-rest-page.ui
@@ -203,10 +203,10 @@
<property name="child">
<object class="GtkGrid">
<property name="column-spacing">8</property>
- <property name="column-homogeneous">true</property>
<property name="row-spacing">6</property>
<child>
<object class="GtkLabel">
+ <property name="hexpand">true</property>
<property name="label">Client Identifier:</property>
<property name="xalign">1.0</property>
<layout>
@@ -217,12 +217,23 @@
</child>
<child>
<object class="GtkEntry" id="oauth1_client_identifier">
+ <property name="hexpand">true</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
</object>
</child>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">dialog-question-symbolic</property>
+ <property name="tooltip-text">Typically the consumer key and secret can be
obtained from the oauth provider.</property>
+ <layout>
+ <property name="column">2</property>
+ <property name="row">0</property>
+ </layout>
+ </object>
+ </child>
<child>
<object class="GtkLabel">
<property name="label">Client Secret:</property>
@@ -264,12 +275,12 @@
<property name="child">
<object class="GtkGrid">
<property name="column-spacing">8</property>
- <property name="column-homogeneous">true</property>
<property name="row-spacing">6</property>
<child>
<object class="GtkLabel">
<property name="label">Client Identifier:</property>
<property name="xalign">1.0</property>
+ <property name="hexpand">true</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
@@ -278,12 +289,23 @@
</child>
<child>
<object class="GtkEntry" id="oauth2_client_identifier">
+ <property name="hexpand">true</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
</object>
</child>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">dialog-question-symbolic</property>
+ <property name="tooltip-text">Typically the identifier and secret can be
obtained from the oauth provider.</property>
+ <layout>
+ <property name="column">2</property>
+ <property name="row">0</property>
+ </layout>
+ </object>
+ </child>
<child>
<object class="GtkLabel">
<property name="label">Client Secret:</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]