diff options
author | Günther Wagner <info@gunibert.de> | 2022-02-01 23:08:33 +0100 |
---|---|---|
committer | Günther Wagner <info@gunibert.de> | 2022-02-01 23:08:33 +0100 |
commit | 02735941f6542f08c7dc549f4998f65a60f13bce (patch) | |
tree | 3c93e077fc00d63d7e3770ab8fa3b7aa131ced23 | |
parent | 7ea6f82c1e73c9b117c11bab4d455112ace3ef71 (diff) | |
download | librest-02735941f6542f08c7dc549f4998f65a60f13bce.tar.gz |
demo: add info-popovers for oauth authentication
-rw-r--r-- | examples/demo/demo-rest-page.ui | 26 |
1 files 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,6 +217,7 @@ </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> @@ -224,6 +225,16 @@ </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> <property name="xalign">1.0</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,6 +289,7 @@ </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> @@ -285,6 +297,16 @@ </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> <property name="xalign">1.0</property> |