Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib/ev-tooltip.c
diff options
context:
space:
mode:
authorMarco 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)
commitb3dd5e1a9084aac461c4dc01287878eb802b85c5 (patch)
treebb8122a0cb8eb8c50a2b103b3a6aacc571d7f8d1 /lib/ev-tooltip.c
parentef5061948d20d3fcdefb285c07014954f47dce6d (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
Diffstat (limited to 'lib/ev-tooltip.c')
-rw-r--r--lib/ev-tooltip.c4
1 files changed, 3 insertions, 1 deletions
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);