diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-09-05 09:08:25 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-09-05 09:08:25 (GMT) |
commit | b3dd5e1a9084aac461c4dc01287878eb802b85c5 (patch) | |
tree | bb8122a0cb8eb8c50a2b103b3a6aacc571d7f8d1 | |
parent | ef5061948d20d3fcdefb285c07014954f47dce6d (diff) |
Fix tooltip border and size handling
2005-09-05 Marco Pesenti Gritti <mpg@redhat.com>
* lib/ev-tooltip.c: (ev_tooltip_init):
Fix tooltip border and size handling
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ev-tooltip.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2005-09-05 Marco Pesenti Gritti <mpg@redhat.com> + * lib/ev-tooltip.c: (ev_tooltip_init): + + Fix tooltip border and size handling + +2005-09-05 Marco Pesenti Gritti <mpg@redhat.com> + * 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 <jrb@alum.mit.edu> + * Marco Pesenti Gritti <marco@gnome.org> * * 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); |