[gtk+/gtk-2-18] Correct a small oversight
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-18] Correct a small oversight
- Date: Mon, 19 Oct 2009 00:41:31 +0000 (UTC)
commit ebcffee8137aaf66249adbf3edf79b4efd5ce708
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 18 20:38:28 2009 -0400
Correct a small oversight
When changing themes, we also need to update the box spacing of
tooltips.
gtk/gtktooltip.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 66b29f1..6f74219 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -475,6 +475,8 @@ gtk_tooltip_window_style_set (GtkTooltip *tooltip)
tooltip->window->style->ythickness,
tooltip->window->style->xthickness,
tooltip->window->style->xthickness);
+ gtk_box_set_spacing (GTK_BOX (tooltip->hbox,
+ tooltip->window->style->xthickness);
gtk_widget_queue_draw (tooltip->window);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]