[gnome-break-timer/dylanmccall/meson-build: 7/25] Use suggested action style for buttons in settings application
- From: Dylan McCall <dylanmccall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-break-timer/dylanmccall/meson-build: 7/25] Use suggested action style for buttons in settings application
- Date: Wed, 23 Jan 2019 04:03:35 +0000 (UTC)
commit c08ad638fb65a32431e2bd9dda74c8c736c003ae
Author: Dylan McCall <dylan dylanmccall com>
Date: Mon Dec 31 22:46:13 2018 -0800
Use suggested action style for buttons in settings application
settings/MainWindow.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/settings/MainWindow.vala b/settings/MainWindow.vala
index daed07a..92b22bb 100644
--- a/settings/MainWindow.vala
+++ b/settings/MainWindow.vala
@@ -213,11 +213,13 @@ private class WelcomePanel : Gtk.Stack {
this.add (this.ready_page);
var breaks_ok_button = new Gtk.Button.with_label (_("OK, got it!"));
+ breaks_ok_button.get_style_context ().add_class ("suggested-action");
breaks_ok_button.set_halign (Gtk.Align.CENTER);
this.breaks_page.add (breaks_ok_button);
breaks_ok_button.clicked.connect (this.on_breaks_confirmed);
var ready_ok_button = new Gtk.Button.with_label (_("Ready to go"));
+ ready_ok_button.get_style_context ().add_class ("suggested-action");
ready_ok_button.set_halign (Gtk.Align.CENTER);
this.ready_page.add (ready_ok_button);
ready_ok_button.clicked.connect (this.on_ready_confirmed);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]