[gnome-sound-recorder] mainWindow: Make record button a "suggested-action"
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] mainWindow: Make record button a "suggested-action"
- Date: Mon, 14 Jan 2019 11:07:53 +0000 (UTC)
commit 029b67ed677a6c96d98fce457a64b5f9c5e02796
Author: eye-sigil <ustin a h+github gmail com>
Date: Thu Sep 27 15:14:57 2018 -0400
mainWindow: Make record button a "suggested-action"
Previously, the record button used the red "destructive" color for
the record button. As this is the main function of the application,
as well as being entirely nondestructive but in fact productive,
this wasn't sensible.
This has been changed from destructive-action to suggested-action,
as it is more in line with the button's role as the main purpose
of the application.
Closes #36
Signed-off-by: Felipe Borges <felipeborges gnome org>
src/mainWindow.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index b46b30e..57aabd9 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -114,7 +114,7 @@ var MainWindow = new Lang.Class({
header.get_style_context().add_class('titlebar');
recordButton = new RecordButton({ label: _("Record") });
- recordButton.get_style_context().add_class('destructive-action');
+ recordButton.get_style_context().add_class('suggested-action');
header.pack_start(recordButton);
this._addAppMenu();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]