[gtk+] Correct a small oversight
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Correct a small oversight
- Date: Mon, 19 Oct 2009 00:40:48 +0000 (UTC)
commit 52ef2f2a3e0835f861712680cef69ed550064e91
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 1f4de9d..ee4fb0e 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -501,6 +501,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]