diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-favicon-action.c | 5 | ||||
-rw-r--r-- | src/ephy-notebook.c | 16 | ||||
-rwxr-xr-x | src/statusbar.c | 2 |
3 files changed, 18 insertions, 5 deletions
diff --git a/src/ephy-favicon-action.c b/src/ephy-favicon-action.c index 4b8b290fb..1e575fd77 100644 --- a/src/ephy-favicon-action.c +++ b/src/ephy-favicon-action.c @@ -24,12 +24,12 @@ #include "ephy-dnd.h" #include "ephy-favicon-cache.h" #include "ephy-shell.h" -#include "ephy-event-box.h" #include "ephy-debug.h" #include <gtk/gtktoolitem.h> #include <gtk/gtkimage.h> #include <gtk/gtkstock.h> +#include <gtk/gtkeventbox.h> static GtkTargetEntry url_drag_types [] = { @@ -136,7 +136,8 @@ create_tool_item (GtkAction *action) item = GTK_WIDGET (gtk_tool_item_new ()); - ebox = ephy_event_box_new (); + ebox = gtk_event_box_new (); + gtk_event_box_set_visible_window (GTK_EVENT_BOX (ebox), FALSE); image = gtk_image_new (); gtk_container_add (GTK_CONTAINER (ebox), image); gtk_container_set_border_width (GTK_CONTAINER (ebox), 2); 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); diff --git a/src/statusbar.c b/src/statusbar.c index ece07ece7..b2f299a16 100755 --- a/src/statusbar.c +++ b/src/statusbar.c @@ -98,6 +98,8 @@ create_statusbar_security_icon (Statusbar *s) s->priv->security_icon = gtk_image_new (); s->priv->security_evbox = gtk_event_box_new (); + gtk_event_box_set_visible_window (GTK_EVENT_BOX (s->priv->security_evbox), + FALSE); gtk_container_add (GTK_CONTAINER (security_frame), GTK_WIDGET (s->priv->security_evbox)); gtk_container_add (GTK_CONTAINER (s->priv->security_evbox), |