[geary: 1/2] Fix use_underline in initial account dialogue
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary: 1/2] Fix use_underline in initial account dialogue
- Date: Sun, 17 Jun 2018 05:40:21 +0000 (UTC)
commit 41dfeb95d583ffc5dfe1a68a91b56b3efbc97ddc
Author: Nicholas Harvey <spammmy2106234 gmx de>
Date: Sat Jun 16 12:59:05 2018 +0000
Fix use_underline in initial account dialogue
∙ Fixed initial add account dialogue display _Add and _Cancel
src/client/accounts/login-dialog.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/client/accounts/login-dialog.vala b/src/client/accounts/login-dialog.vala
index 6a6e00c5..e508f6cd 100644
--- a/src/client/accounts/login-dialog.vala
+++ b/src/client/accounts/login-dialog.vala
@@ -30,11 +30,13 @@ public class LoginDialog : Gtk.Dialog {
cancel_button = new Gtk.Button.with_label(Stock._CANCEL);
cancel_button.show();
+ cancel_button.use_underline = true;
add_action_widget(cancel_button, Gtk.ResponseType.CANCEL);
ok_button = new Gtk.Button.with_label(Stock._ADD);
ok_button.show();
ok_button.can_default = true;
+ ok_button.use_underline = true;
add_action_widget(ok_button, Gtk.ResponseType.OK);
set_default_response(Gtk.ResponseType.OK);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]