summaryrefslogtreecommitdiff
path: root/src/ui/authorization-prompt.glade
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-10-02 11:32:01 +0200
committerVivien Kraus <vivien@planete-kraus.eu>2021-10-04 23:16:12 +0200
commitd44957e78f23c5c0010fce0bf84859f7fd9d41dd (patch)
tree7c7b18e01796a25b81c3975ed30e628f0dea4d3d /src/ui/authorization-prompt.glade
parentfd3b4c9747bc631a900a881bfdaadc65124cf0d1 (diff)
Make a widget to ask for an authorization code
Diffstat (limited to 'src/ui/authorization-prompt.glade')
-rw-r--r--src/ui/authorization-prompt.glade75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/ui/authorization-prompt.glade b/src/ui/authorization-prompt.glade
new file mode 100644
index 0000000..ec2fd7c
--- /dev/null
+++ b/src/ui/authorization-prompt.glade
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.36.0 -->
+<interface>
+ <requires lib="gtk+" version="3.22"/>
+ <object class="GtkBox" id="authorization_prompt">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkLabel" id="reason">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Your authorization is required because &lt;reasons&gt;:</property>
+ <property name="wrap">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLinkButton" id="authorization_link">
+ <property name="label" translatable="yes">Authorize</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="relief">none</property>
+ <property name="uri">http://glade.gnome.org</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Please paste your authorization code below:</property>
+ <property name="wrap">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="authorization_code_entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="ok_button">
+ <property name="label" translatable="yes">OK</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ </object>
+</interface>