linux note: Make default button blue
This commit is contained in:
parent
76719f5c36
commit
b244cfc7b2
|
@ -96,8 +96,9 @@ namespace SparkleShare {
|
|||
|
||||
|
||||
var cancel_button = new Button ("Cancel");
|
||||
var sync_button = new Button ("Sync"); // TODO: Make default button
|
||||
sync_button.CanDefault = true;
|
||||
var sync_button = new Button ("Sync") { CanDefault = true };
|
||||
|
||||
sync_button.StyleContext.AddClass ("suggested-action");
|
||||
|
||||
cancel_button.Clicked += delegate { Controller.CancelClicked (); };
|
||||
sync_button.Clicked += delegate { Controller.SyncClicked (balloon.Buffer.Text); };
|
||||
|
|
Loading…
Reference in a new issue