diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-07-22 20:13:49 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-07-22 20:13:49 +0800 |
commit | bde9f595b1e33906f2128bb62e3468ca37981115 (patch) | |
tree | ddf7a56ba9b6f2558d6289fda38d6c525a2bce49 /src | |
parent | 26ae04d0bc55dc0f49c18d684644b6c46f67c956 (diff) | |
download | gsoc2013-epiphany-bde9f595b1e33906f2128bb62e3468ca37981115.tar.gz gsoc2013-epiphany-bde9f595b1e33906f2128bb62e3468ca37981115.tar.zst gsoc2013-epiphany-bde9f595b1e33906f2128bb62e3468ca37981115.zip |
An input-only window event box, copied from eel's ell-input-event-box.
2003-07-22 Christian Persch <chpe@cvs.gnome.org>
* 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 .
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-favicon-action.c | 3 | ||||
-rw-r--r-- | src/ephy-notebook.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-favicon-action.c b/src/ephy-favicon-action.c index 376794cba..bf1d96d36 100644 --- a/src/ephy-favicon-action.c +++ b/src/ephy-favicon-action.c @@ -23,6 +23,7 @@ #include "ephy-dnd.h" #include "ephy-favicon-cache.h" #include "ephy-shell.h" +#include "ephy-event-box.h" #include "ephy-debug.h" static GtkTargetEntry url_drag_types [] = @@ -128,7 +129,7 @@ create_tool_item (EggAction *action) item = GTK_WIDGET (egg_tool_item_new ()); - ebox = gtk_event_box_new (); + ebox = ephy_event_box_new (); 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 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 <gtk/gtk.h> #include <glib-object.h> @@ -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); |