gui: Replace dim-label with dimmed style class

`dim-label` is deprecated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/624>
This commit is contained in:
Hari Rana
2025-08-18 18:37:25 -04:00
parent e56ef92abd
commit be0ba51481
9 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -202,9 +202,9 @@ update_color (GcalEventWidget *self)
/* Fades out an event that's earlier than the current date */
if (date_compare < 0)
gtk_widget_add_css_class (GTK_WIDGET (self), "dim-label");
gtk_widget_add_css_class (GTK_WIDGET (self), "dimmed");
else
gtk_widget_remove_css_class (GTK_WIDGET (self), "dim-label");
gtk_widget_remove_css_class (GTK_WIDGET (self), "dimmed");
/* Remove the old style class */
if (self->css_class)