diff options
author | Samuel Hand <samuel.d.hand@gmail.com> | 2018-08-08 21:57:24 +0100 |
---|---|---|
committer | Samuel Hand <samuel.d.hand@gmail.com> | 2018-08-08 22:02:51 +0100 |
commit | 18419b3268c2b00d1099b55a22a1c11c349bafd9 (patch) | |
tree | 9a601a2ff9a658a605ee6aa7248941db734c9c7b /plugins/omemo/data/contact_details_dialog.ui | |
parent | cdaa29d7f08fcee1099c53184ba8b36bb93a1bc1 (diff) | |
download | dino-18419b3268c2b00d1099b55a22a1c11c349bafd9.tar.gz dino-18419b3268c2b00d1099b55a22a1c11c349bafd9.zip |
Show a verification QR code for an accounts own key
Diffstat (limited to 'plugins/omemo/data/contact_details_dialog.ui')
-rw-r--r-- | plugins/omemo/data/contact_details_dialog.ui | 52 |
1 files changed, 47 insertions, 5 deletions
diff --git a/plugins/omemo/data/contact_details_dialog.ui b/plugins/omemo/data/contact_details_dialog.ui index 856c7af4..a5e8511b 100644 --- a/plugins/omemo/data/contact_details_dialog.ui +++ b/plugins/omemo/data/contact_details_dialog.ui @@ -110,6 +110,7 @@ <property name="margin-start">20</property> <property name="margin-end">20</property> <property name="margin-top">14</property> + <property name="spacing">40</property> <property name="margin-bottom">14</property> <property name="orientation">horizontal</property> <property name="hexpand">True</property> @@ -122,14 +123,38 @@ </object> </child> <child> - <object class="GtkButton" id="copy"> + <object class="GtkBox"> <property name="visible">True</property> - <property name="halign">end</property> + <property name="orientation">horizontal</property> + <property name="hexpand">True</property> + <property name="spacing">5</property> <child> - <object class="GtkImage"> + <object class="GtkButton" id="show_qrcode"> <property name="visible">True</property> - <property name="icon-size">1</property> - <property name="icon-name">edit-copy-symbolic</property> + <property name="halign">start</property> + <property name="hexpand">True</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="halign">end</property> + <property name="icon-name">camera-photo-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkButton" id="copy"> + <property name="visible">True</property> + <property name="halign">end</property> + <property name="hexpand">True</property> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-size">1</property> + <property name="icon-name">edit-copy-symbolic</property> + </object> + </child> </object> </child> </object> @@ -203,4 +228,21 @@ </object> </child> </template> + <object class="GtkPopover" id="qrcode_popover"> + <property name="visible">False</property> + <property name="relative-to">show_qrcode</property> + <property name="position">left</property> + <property name="modal">True</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="margin">10</property> + <child> + <object class="GtkImage" id="qrcode"> + <property name="visible">True</property> + </object> + </child> + </object> + </child> + </object> </interface> |