[gnumeric] tooltip adjustments



commit 0736e77fc7cbcefc337b177b10b89eef3e08ef67
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Tue Jun 15 13:59:30 2010 -0600

    tooltip adjustments
    
    2010-06-15  Andreas J. Guelzow <aguelzow pyrshep ca>
    
    	* gnumeric-expr-entry.c (gee_create_tooltip): set tooltip
    	  hint and name

 src/widgets/ChangeLog             |    5 +++++
 src/widgets/gnumeric-expr-entry.c |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index 3036d92..a2bc58f 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,5 +1,10 @@
 2010-06-15  Andreas J. Guelzow <aguelzow pyrshep ca>
 
+	* gnumeric-expr-entry.c (gee_create_tooltip): set tooltip
+	  hint and name
+
+2010-06-15  Andreas J. Guelzow <aguelzow pyrshep ca>
+
 	* gnumeric-expr-entry.c (gee_set_tooltip_argument): new
 	(gee_set_tooltip): use gee_set_tooltip_argument
 	
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index 1e9632b..1639823 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -637,6 +637,11 @@ gee_create_tooltip (GnmExprEntry *gee, gchar const *str)
 	gtk_window_get_position (toplevel, &root_x, &root_y);
 
 	tip = gtk_window_new (GTK_WINDOW_POPUP);
+	gtk_window_set_type_hint (GTK_WINDOW (tip),
+				  GDK_WINDOW_TYPE_HINT_TOOLTIP);
+	gtk_window_set_resizable (GTK_WINDOW (tip), FALSE);
+	gtk_widget_set_name (tip, "gnumeric-tooltip");
+	
 	gtk_window_set_screen (GTK_WINDOW (tip), screen);
 	gtk_window_move (GTK_WINDOW (tip), root_x + dest_x, root_y + dest_y);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]