From bde9f595b1e33906f2128bb62e3468ca37981115 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 22 Jul 2003 12:13:49 +0000 Subject: An input-only window event box, copied from eel's ell-input-event-box. 2003-07-22 Christian Persch * lib/widgets/ephy-event-box.h: * lib/widgets/ephy-event-box.c: An input-only window event box, copied from eel's ell-input-event-box. * src/ephy-notebook.c: (tab_build_label): * src/ephy-favicon-action.c: (create_tool_item): Use EphyEventBox instead of GtkEventBox. Fixes transparency issue from bug #110747 . --- src/ephy-notebook.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ephy-notebook.c') diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 3e2bad417..7ce05b8ca 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -31,6 +31,7 @@ #include "ephy-shell.h" #include "ephy-debug.h" #include "ephy-favicon-cache.h" +#include "ephy-event-box.h" #include #include @@ -895,7 +896,7 @@ build_tab_label (EphyNotebook *nb, GtkWidget *child) gtk_box_pack_start (GTK_BOX (hbox), icon, FALSE, FALSE, 0); /* setup label */ - label_ebox = gtk_event_box_new (); + label_ebox = ephy_event_box_new (); label = gtk_label_new (""); gtk_misc_set_alignment (GTK_MISC (label), 0.00, 0.5); gtk_misc_set_padding (GTK_MISC (label), 4, 0); -- cgit