From 368dc2d036ee66960d10d3c4ceb7e30582434c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Thu, 17 Apr 2025 09:21:50 -0700 Subject: [PATCH] =?UTF-8?q?Constants:=20Granite.STYLE=5FCLASS=5FOSD=20?= =?UTF-8?q?=E2=86=92=20Granite.CssClass.OSD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Constants.vala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Constants.vala b/lib/Constants.vala index 68b9eb48f..77391eb5d 100644 --- a/lib/Constants.vala +++ b/lib/Constants.vala @@ -101,6 +101,7 @@ namespace Granite { /** * Style class for "on-screen display" widgets such as {@link Granite.Toast} and {@link Granite.OverlayBar} */ + [Version (deprecated = true, deprecated_since = "7.7.0", replacement = "Granite.CssClass.OSD")] public const string STYLE_CLASS_OSD = "osd"; /** * Style class for rounded corners, i.e. on a {@link Gtk.Window} or {@link Granite.STYLE_CLASS_CARD} @@ -266,6 +267,11 @@ namespace Granite { */ public const string NUMERIC = "numeric"; + /** + * Style class for "on-screen display" widgets in a {@Gtk.Overlay} such as {@link Granite.Box} or {@link Gtk.Button} + */ + public const string OSD = "osd"; + /** * Style class for a {@link Gtk.Label} to emulate Pango's "" and "size='smaller'" */