From: Marco Pesenti Gritti Date: Mon, 5 Sep 2005 09:08:25 +0000 (+0000) Subject: Fix tooltip border and size handling X-Git-Tag: EVINCE_0_5_0~182 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=b3dd5e1a9084aac461c4dc01287878eb802b85c5;p=evince.git Fix tooltip border and size handling 2005-09-05 Marco Pesenti Gritti * lib/ev-tooltip.c: (ev_tooltip_init): Fix tooltip border and size handling --- diff --git a/ChangeLog b/ChangeLog index bf854ab2..94f643ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-09-05 Marco Pesenti Gritti + + * lib/ev-tooltip.c: (ev_tooltip_init): + + Fix tooltip border and size handling + 2005-09-05 Marco Pesenti Gritti * lib/ev-tooltip.c: (ev_tooltip_dispose), (ev_tooltip_class_init), diff --git a/lib/ev-tooltip.c b/lib/ev-tooltip.c index 5e32c580..4aeb3654 100644 --- a/lib/ev-tooltip.c +++ b/lib/ev-tooltip.c @@ -3,7 +3,7 @@ * Copyright (C) 2004 Red Hat, Inc. * * Author: - * Jonathan Blandford + * Marco Pesenti Gritti * * Evince is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by @@ -87,6 +87,8 @@ ev_tooltip_init (EvTooltip *tooltip) tooltip->priv = EV_TOOLTIP_GET_PRIVATE (tooltip); + gtk_widget_set_app_paintable (GTK_WIDGET (tooltip), TRUE); + gtk_window_set_resizable (GTK_WINDOW (tooltip), FALSE); gtk_widget_set_name (window, "gtk-tooltips"); label = gtk_label_new (NULL);