[gnome-initial-setup/wip/152-fix-domain-administrator-login-dialog: 2/4] account: Fix buttons in enterprise login dialog
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/wip/152-fix-domain-administrator-login-dialog: 2/4] account: Fix buttons in enterprise login dialog
- Date: Tue, 6 Sep 2022 13:49:30 +0000 (UTC)
commit f712248a7652ee96cf09196c373c7a0706b0a613
Author: Will Thompson <wjt endlessos org>
Date: Tue Sep 6 14:41:33 2022 +0100
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.
gnome-initial-setup/pages/account/gis-account-page-enterprise.ui | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
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 b2556837..38992f05 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]