aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-09-09 16:27:05 +0800
committerChristian Persch <chpe@src.gnome.org>2003-09-09 16:27:05 +0800
commitb367752ed56a64c191ee8a4d431293dda52ac579 (patch)
treebe33fb3542233b5f771516f05d393628addd0585 /src/ephy-notebook.c
parentea1fa38ea96a167de2f80b07ebaad54ce36477ec (diff)
downloadgsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.gz
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.bz2
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.lz
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.xz
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.tar.zst
gsoc2013-epiphany-b367752ed56a64c191ee8a4d431293dda52ac579.zip
gtk+ now supports invisible event boxes. Remove our custom implementation
2003-09-09 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/Makefile.am: * lib/widgets/ephy-event-box.c: * lib/widgets/ephy-event-box.h: * src/ephy-favicon-action.c: (create_tool_item): * src/ephy-notebook.c: (build_tab_label): * src/statusbar.c: (create_statusbar_security_icon): gtk+ now supports invisible event boxes. Remove our custom implementation and use gtk+ api instead.
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 620b81d68..1ca616eed 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -34,10 +34,19 @@
#include "ephy-shell.h"
#include "ephy-debug.h"
#include "ephy-favicon-cache.h"
-#include "ephy-event-box.h"
-#include <gtk/gtk.h>
#include <glib-object.h>
+#include <gtk/gtkeventbox.h>
+#include <gtk/gtknotebook.h>
+#include <gtk/gtkhbox.h>
+#include <gtk/gtklabel.h>
+#include <gtk/gtkwidget.h>
+#include <gtk/gtktooltips.h>
+#include <gtk/gtkmain.h>
+#include <gtk/gtkstock.h>
+#include <gtk/gtkimage.h>
+#include <gtk/gtkbutton.h>
+#include <gtk/gtkiconfactory.h>
#include <bonobo/bonobo-i18n.h>
#include <libgnomevfs/gnome-vfs-uri.h>
@@ -907,7 +916,8 @@ build_tab_label (EphyNotebook *nb, GtkWidget *child)
gtk_box_pack_start (GTK_BOX (hbox), icon, FALSE, FALSE, 0);
/* setup label */
- label_ebox = ephy_event_box_new ();
+ label_ebox = gtk_event_box_new ();
+ gtk_event_box_set_visible_window (GTK_EVENT_BOX (label_ebox), FALSE);
label = gtk_label_new ("");
gtk_misc_set_alignment (GTK_MISC (label), 0.00, 0.5);
gtk_misc_set_padding (GTK_MISC (label), 4, 0);