[gnome-logs] menu_button: Use caption+dim-label classes



commit ad209855bb35d2b33c2b15b7333b1fc324e99950
Author: Maximiliano Sandoval R <msandova gnome org>
Date:   Thu Jan 6 11:40:20 2022 +0100

    menu_button: Use caption+dim-label classes
    
    They follow more closelly what was already in gtk3.

 src/gl-eventtoolbar.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gl-eventtoolbar.c b/src/gl-eventtoolbar.c
index 8b1efba..facb670 100644
--- a/src/gl-eventtoolbar.c
+++ b/src/gl-eventtoolbar.c
@@ -148,7 +148,8 @@ gl_event_toolbar_add_boots (GlEventToolbar *toolbar,
 
     gtk_label_set_label (GTK_LABEL (priv->current_boot), current_boot);
     context = gtk_widget_get_style_context (GTK_WIDGET (priv->current_boot));
-    gtk_style_context_add_class (context, "subtitle");
+    gtk_style_context_add_class (context, "caption");
+    gtk_style_context_add_class (context, "dim-label");
     gtk_grid_attach (GTK_GRID (grid), priv->current_boot, 0, 1, 1, 1);
 
     arrow = gtk_image_new_from_icon_name ("pan-down-symbolic");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]