aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-02-08 04:41:55 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-08 04:41:55 +0800
commit6ed666f2b6ecc7a50c19c03cdf98a5b953f14660 (patch)
treec1729d8631afed792d6bd5671727e55a90f0af17 /lib
parentf0678b1e01d7fea1ebd13b010084dbb18ecebe7d (diff)
downloadgsoc2013-epiphany-6ed666f2b6ecc7a50c19c03cdf98a5b953f14660.tar.gz
gsoc2013-epiphany-6ed666f2b6ecc7a50c19c03cdf98a5b953f14660.tar.zst
gsoc2013-epiphany-6ed666f2b6ecc7a50c19c03cdf98a5b953f14660.zip
Spinner dont overlap toolbar shadow
2003-02-07 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/eggtoolbar.c: (egg_toolbar_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_expose), (ephy_spinner_size_request): Spinner dont overlap toolbar shadow
Diffstat (limited to 'lib')
-rw-r--r--lib/egg/eggtoolbar.c2
-rw-r--r--lib/widgets/ephy-spinner.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/egg/eggtoolbar.c b/lib/egg/eggtoolbar.c
index 3f90fed6a..ac351194e 100644
--- a/lib/egg/eggtoolbar.c
+++ b/lib/egg/eggtoolbar.c
@@ -314,6 +314,8 @@ egg_toolbar_init (EggToolbar *toolbar)
GTK_WIDGET_SET_FLAGS (toolbar, GTK_NO_WINDOW);
GTK_WIDGET_UNSET_FLAGS (toolbar, GTK_CAN_FOCUS);
+ gtk_container_set_border_width (GTK_CONTAINER (toolbar), 1);
+
priv = g_new0 (EggToolbarPrivate, 1);
g_object_set_data (G_OBJECT (toolbar), PRIVATE_KEY, priv);
diff --git a/lib/widgets/ephy-spinner.c b/lib/widgets/ephy-spinner.c
index e80927c05..9bd4c0988 100644
--- a/lib/widgets/ephy-spinner.c
+++ b/lib/widgets/ephy-spinner.c
@@ -247,8 +247,6 @@ ephy_spinner_expose (GtkWidget *widget, GdkEventExpose *event)
g_return_val_if_fail (IS_EPHY_SPINNER (widget), FALSE);
- GTK_WIDGET_CLASS (parent_class)->expose_event (widget, event);
-
spinner = EPHY_SPINNER (widget);
if (!spinner->details->ready) {
return FALSE;
@@ -517,7 +515,7 @@ ephy_spinner_size_request (GtkWidget *widget, GtkRequisition *requisition)
/* allocate some extra margin so we don't butt up against toolbar edges */
requisition->width = spinner_width + 4;
- requisition->height = spinner_height;
+ requisition->height = spinner_height + 4;
}
static void