[Xfce4-commits] [xfce/libxfce4ui] 01/01: Set view instead of frame class on XfceHeader widget

noreply at xfce.org noreply at xfce.org
Thu Jul 21 21:26:28 CEST 2016


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository xfce/libxfce4ui.

commit 67eb247599aa8380e01474a5677aaea63409015e
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu Jul 21 21:23:58 2016 +0200

    Set view instead of frame class on XfceHeader widget
    
    This makes the XfceHeader widget of XfceTitledDialogs resemble the
    style of Gtk2 by default in Gtk3. Themers can still easily override
    the default by using the .XfceHeader class.
---
 libxfce4ui/xfce-heading.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libxfce4ui/xfce-heading.c b/libxfce4ui/xfce-heading.c
index 3d5318a..c812725 100644
--- a/libxfce4ui/xfce-heading.c
+++ b/libxfce4ui/xfce-heading.c
@@ -239,7 +239,8 @@ _xfce_heading_draw (GtkWidget *widget,
   context = gtk_widget_get_style_context (widget);
 
   gtk_style_context_save (context);
-  gtk_style_context_add_class (context, GTK_STYLE_CLASS_FRAME);
+  /* Add "view" as default style class as that resembles the "base color" look of Gtk2 best */
+  gtk_style_context_add_class (context, "view");
   gtk_style_context_add_class (context, "XfceHeading");
 
   /* check if we should render from right to left */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list