summaryrefslogtreecommitdiff
path: root/gnome-initial-setup
diff options
context:
space:
mode:
authorWill Thompson <wjt@endlessos.org>2022-09-06 14:41:33 +0100
committerWill Thompson <wjt@endlessos.org>2022-09-06 15:03:31 +0100
commit4dd82319e1cc608506bbc0c6b2ac5f28d5b36cd3 (patch)
treef2a4df6f3a699ade4fdc2062c8b8ca495df458da /gnome-initial-setup
parentab0636afe1622373fd9f0d5b9a55f7a4da6a4c3d (diff)
downloadgnome-initial-setup-4dd82319e1cc608506bbc0c6b2ac5f28d5b36cd3.tar.gz
account: Fix buttons in enterprise login dialog
Since 13de947f4ff3444e7085007ff353e97bd74832ae ("account: Port to GTK4") the label on the cancel button was lost, as was the use_underline property for the continue button. gtk-cancel is no more, but happily the translatable string "_Cancel" is already present elsewhere in this project. While we are here, mark the Continue button as the suggested action. Part-of: <https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/159>
Diffstat (limited to 'gnome-initial-setup')
-rw-r--r--gnome-initial-setup/pages/account/gis-account-page-enterprise.ui9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnome-initial-setup/pages/account/gis-account-page-enterprise.ui b/gnome-initial-setup/pages/account/gis-account-page-enterprise.ui
index b255683..38992f0 100644
--- a/gnome-initial-setup/pages/account/gis-account-page-enterprise.ui
+++ b/gnome-initial-setup/pages/account/gis-account-page-enterprise.ui
@@ -261,11 +261,18 @@
</object>
</child>
<child type="action">
- <object class="GtkButton" id="button_cancel"/>
+ <object class="GtkButton" id="button_cancel">
+ <property name="label">_Cancel</property>
+ <property name="use_underline">True</property>
+ </object>
</child>
<child type="action">
<object class="GtkButton" id="button_ok">
<property name="label" translatable="yes">C_ontinue</property>
+ <property name="use_underline">True</property>
+ <style>
+ <class name="suggested-action"/>
+ </style>
</object>
</child>
<action-widgets>