]> www.fi.muni.cz Git - evince.git/blobdiff - lib/ev-tooltip.c
Fix tooltip border and size handling
[evince.git] / lib / ev-tooltip.c
index 5e32c5807a29f72b2c123ab305d5f371d6216dac..4aeb3654661529e414303f00bd2b57f4c0d06006 100644 (file)
@@ -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);