diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-02-27 19:48:30 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-02-27 19:48:30 +0000 |
commit | 0be9b6fba856ee2d919f208beb9a0fbf19b55518 (patch) | |
tree | 6177e2f83ad93ad0f4a36b88579941f7af5abbd7 | |
parent | 39fc3c9a3c8ff8d1192766a33a55b575f5324ca0 (diff) | |
download | gtk+-0be9b6fba856ee2d919f208beb9a0fbf19b55518.tar.gz |
Go back to old style of drawing children over the bevel. (#58615)
Wed Feb 27 14:45:21 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go
back to old style of drawing children over the bevel.
(#58615)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtktoolbar.c | 8 |
8 files changed, 46 insertions, 4 deletions
@@ -1,3 +1,9 @@ +Wed Feb 27 14:45:21 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go + back to old style of drawing children over the bevel. + (#58615) + Wed Feb 27 14:08:26 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imxim.c: Add ko and zh to the locales diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index ae42ff1dcc..a1707ecebe 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Wed Feb 27 14:45:21 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go + back to old style of drawing children over the bevel. + (#58615) + Wed Feb 27 14:08:26 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imxim.c: Add ko and zh to the locales diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ae42ff1dcc..a1707ecebe 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Wed Feb 27 14:45:21 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go + back to old style of drawing children over the bevel. + (#58615) + Wed Feb 27 14:08:26 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imxim.c: Add ko and zh to the locales diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index ae42ff1dcc..a1707ecebe 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Wed Feb 27 14:45:21 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go + back to old style of drawing children over the bevel. + (#58615) + Wed Feb 27 14:08:26 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imxim.c: Add ko and zh to the locales diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index ae42ff1dcc..a1707ecebe 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Wed Feb 27 14:45:21 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go + back to old style of drawing children over the bevel. + (#58615) + Wed Feb 27 14:08:26 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imxim.c: Add ko and zh to the locales diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ae42ff1dcc..a1707ecebe 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Wed Feb 27 14:45:21 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go + back to old style of drawing children over the bevel. + (#58615) + Wed Feb 27 14:08:26 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imxim.c: Add ko and zh to the locales diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ae42ff1dcc..a1707ecebe 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Wed Feb 27 14:45:21 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go + back to old style of drawing children over the bevel. + (#58615) + Wed Feb 27 14:08:26 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imxim.c: Add ko and zh to the locales diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index ac6d1d14b7..222b65daee 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -657,8 +657,8 @@ gtk_toolbar_size_request (GtkWidget *widget, /* Extra spacing */ gtk_widget_style_get (widget, "internal_padding", &ipadding, NULL); - requisition->width += 2 * (widget->style->xthickness + ipadding); - requisition->height += 2 * (widget->style->ythickness + ipadding); + requisition->width += 2 * ipadding; + requisition->height += 2 * ipadding; toolbar->button_maxw = button_maxw; toolbar->button_maxh = button_maxh; @@ -689,8 +689,8 @@ gtk_toolbar_size_allocate (GtkWidget *widget, gtk_widget_style_get (widget, "internal_padding", &ipadding, NULL); - x_border_width += 2 * (widget->style->xthickness + ipadding); - y_border_width += 2 * (widget->style->ythickness + ipadding); + x_border_width += ipadding; + y_border_width += ipadding; if (toolbar->orientation == GTK_ORIENTATION_HORIZONTAL) alloc.x = allocation->x + x_border_width; |