[gnome-themes-standard] Set a font for context menus



commit 1db878b07da22ffe37681350163bde90079c54cd
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 18 10:48:54 2013 -0400

    Set a font for context menus
    
    GTK+ has recently started to add a dedicated style class
    to context menus. We set an explicit font for this class
    to prevent unintended inheritance, e.g. for context menus
    of the gedit document view or the preview entry in the
    font chooser.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=697127

 themes/Adwaita/gtk-3.0/gtk-widgets.css |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index b66684e..53c5dfd 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2273,6 +2273,10 @@ GtkTreeMenu .menuitem,
     text-shadow: none;
 }
 
+.context-menu {
+    font: regular 10;
+}
+
 .menu {
     background-color: @menu_bg_color;
     color: @menu_fg_color;


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