diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2024-06-30 20:45:44 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2024-06-30 20:45:44 +0200 |
commit | bca1cc8681bbaf662dabc961f84b06adc1255e08 (patch) | |
tree | 9c387fef03143f2f5f809672bf51e6495f874050 /data/ui/authorize-dialog.ui | |
parent | a675d0fb9f307b714d0b9cf19690d2b08b666d7c (diff) | |
parent | 26d8dd51f3ecc4bd6861ed5155acb3090a1983d4 (diff) |
Update upstream source from tag 'upstream/46.0'
Update to upstream version '46.0'
with Debian dir a64ff9f87cc10b162225618b62823763d5ea1d65
Diffstat (limited to 'data/ui/authorize-dialog.ui')
-rw-r--r-- | data/ui/authorize-dialog.ui | 131 |
1 files changed, 49 insertions, 82 deletions
diff --git a/data/ui/authorize-dialog.ui b/data/ui/authorize-dialog.ui index 79e43fd..729ddc3 100644 --- a/data/ui/authorize-dialog.ui +++ b/data/ui/authorize-dialog.ui @@ -1,111 +1,78 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.20.0 --> <interface> - <requires lib="gtk+" version="3.10"/> - <template class="AuthorizeDialog" parent="GtkDialog"> - <property name="border_width">12</property> - <property name="resizable">False</property> + <requires lib="gtk" version="4.0"/> + <requires lib="libadwaita" version="1.0"/> + <template class="AuthorizeDialog" parent="GtkWindow"> <property name="modal">True</property> - <property name="type_hint">normal</property> - <property name="urgency_hint">True</property> - <child internal-child="vbox"> - <object class="GtkBox" id="dialog-vbox1"> - <property name="visible">True</property> - <property name="orientation">vertical</property> - <property name="spacing">12</property> - <child internal-child="action_area"> - <object class="GtkButtonBox" id="dialog-action_area1"> - <property name="visible">True</property> - <property name="layout_style">end</property> - <child> - <object class="GtkButton" id="authorize_button"> - <property name="label" translatable="yes" comments="Button to submit authorization dialog">_Authorize</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_underline">True</property> - </object> - </child> - </object> - <packing> - <property name="pack_type">end</property> - </packing> - </child> + <property name="resizable">False</property> + + <property name="titlebar"> + <object class="GtkBox"> + </object> + </property> + + <child> + <object class="GtkWindowHandle"> <child> - <object class="GtkBox" id="vbox5"> - <property name="visible">True</property> - <property name="border_width">5</property> + <object class="GtkBox" id="dialog-vbox1"> <property name="orientation">vertical</property> <property name="spacing">12</property> + <property name="margin-start">20</property> + <property name="margin-end">20</property> + <property name="margin-top">18</property> + <property name="margin-bottom">18</property> + <child> - <object class="GtkLabel" id="authorize_label"> - <property name="visible">True</property> - <property name="vexpand">True</property> - <property name="label" comments="This label is set dynamically and is not translated">To connect to ? you need to authorize</property> - </object> - </child> - <child> - <object class="GtkGrid" id="grid2"> - <property name="visible">True</property> - <property name="row_spacing">6</property> - <property name="column_spacing">6</property> + <object class="AdwPreferencesGroup" id="preferences_group"> + <property name="title" comments="This label is set dynamically and is not translated">To connect to ? you need to authorize</property> + <child> - <object class="GtkEntry" id="username_entry"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hexpand">True</property> - <property name="invisible_char">●</property> + <object class="AdwEntryRow" id="username_entry"> + <property name="title" translatable="yes">_Username for resource</property> + <property name="use_underline">True</property> </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> - </packing> </child> + <child> - <object class="GtkEntry" id="password_entry"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="hexpand">True</property> - <property name="visibility">False</property> - <property name="invisible_char">●</property> + <object class="AdwPasswordEntryRow" id="password_entry"> + <property name="title" translatable="yes">_Password</property> + <property name="use_underline">True</property> </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">1</property> - </packing> </child> + </object> + </child> + + <child> + <object class="GtkBox"> + <property name="orientation">horizontal</property> + <property name="spacing">5</property> + <property name="halign">end</property> + <child> - <object class="GtkLabel" id="username_label"> - <property name="visible">True</property> - <property name="label" translatable="yes" comments="Label beside username entry">_Username for resource:</property> + <object class="GtkButton"> + <property name="label" translatable="yes">_Cancel</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">username_entry</property> + <signal name="clicked" handler="cancel_button_cb" swapped="no"/> </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">0</property> - </packing> </child> + <child> - <object class="GtkLabel" id="password_label"> - <property name="visible">True</property> - <property name="label" translatable="yes" comments="Label beside password entry">_Password:</property> + <object class="GtkButton" id="authorize_button"> + <property name="label" translatable="yes" comments="Button to submit authorization dialog">_Authorize</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">password_entry</property> + <signal name="clicked" handler="authorize_button_cb" swapped="no"/> + + <style> + <class name="suggested-action"/> + </style> </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - </packing> </child> </object> </child> + </object> </child> </object> </child> - <action-widgets> - <action-widget response="0">authorize_button</action-widget> - </action-widgets> </template> </interface> |