aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dash-button.vala2
-rw-r--r--src/flat-button.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dash-button.vala b/src/dash-button.vala
index 5a486f7..4554dc2 100644
--- a/src/dash-button.vala
+++ b/src/dash-button.vala
@@ -68,7 +68,7 @@ public class DashButton : FlatButton, Fadable
{
var style = new Gtk.CssProvider ();
style.load_from_data ("* {padding: 6px 8px 6px 8px;
- -GtkWidget-focus-line-width: 0px;
+ outline-width: 0px;
}", -1);
this.get_style_context ().add_provider (style, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
}
diff --git a/src/flat-button.vala b/src/flat-button.vala
index fc77fe1..9177f22 100644
--- a/src/flat-button.vala
+++ b/src/flat-button.vala
@@ -27,7 +27,7 @@ public class FlatButton : Gtk.Button
try
{
var style = new Gtk.CssProvider ();
- style.load_from_data ("* {-GtkWidget-focus-line-width: 1px;
+ style.load_from_data ("* {outline-width: 1px;
}", -1);
get_style_context ().add_provider (style, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
}