From 626c5c904fad13a9cd615517e5733bfb620f3b18 Mon Sep 17 00:00:00 2001 From: Nick Schermer Date: Fri, 9 Jan 2009 23:59:39 +0100 Subject: [PATCH] Make Xfce headers look like the real thing --- midori/sokoke.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/midori/sokoke.c b/midori/sokoke.c index 84903b3a..861a3b5e 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -300,6 +300,8 @@ sokoke_xfce_header_new (const gchar* icon, GtkWidget* hbox; GtkWidget* image; GtkWidget* label; + GtkWidget* vbox; + GtkWidget* separator; xfce_heading = gtk_event_box_new (); entry = gtk_entry_new (); @@ -323,7 +325,14 @@ sokoke_xfce_header_new (const gchar* icon, gtk_container_add (GTK_CONTAINER (xfce_heading), hbox); g_free (markup); gtk_widget_destroy (entry); - return xfce_heading; + + vbox = gtk_vbox_new (FALSE, 0); + gtk_box_pack_start (GTK_BOX (vbox), xfce_heading, FALSE, FALSE, 0); + + separator = gtk_hseparator_new (); + gtk_box_pack_start (GTK_BOX (vbox), separator, FALSE, FALSE, 0); + + return vbox; } return NULL; } -- 2.39.5