From b3dd5e1a9084aac461c4dc01287878eb802b85c5 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 05 Sep 2005 09:08:25 +0000 Subject: 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 bf854ab..94f643e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 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), (ev_tooltip_set_position), (ev_tooltip_recently_shown), (ev_tooltip_timeout), (ev_tooltip_activate), diff --git a/lib/ev-tooltip.c b/lib/ev-tooltip.c index 5e32c58..4aeb365 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); -- cgit v0.9.1