aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-08-16 06:44:39 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-08-16 06:44:39 +0000
commit86fe76ac8c0e85178808908c317fe2cc940bd047 (patch)
tree8abe9e3bcd7200d9c48d03250ca13be6f408ddb2 /src
parent7972b5e647b674e89e7e2367aa4aa469880f35df (diff)
fixed tooltips on windows.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3152 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/headerview.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/headerview.c b/src/headerview.c
index 1b60454e..be7a25b8 100644
--- a/src/headerview.c
+++ b/src/headerview.c
@@ -125,6 +125,12 @@ HeaderView *headerview_create(void)
GTK_WIDGET_UNSET_FLAGS(ng_body_label, GTK_CAN_FOCUS);
GTK_WIDGET_UNSET_FLAGS(subject_body_label, GTK_CAN_FOCUS);
+ gtk_widget_add_events(from_body_label, GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);
+ gtk_widget_add_events(to_body_label, GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);
+ gtk_widget_add_events(cc_body_label, GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);
+ gtk_widget_add_events(ng_body_label, GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);
+ gtk_widget_add_events(subject_body_label, GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);
+
tip = gtk_tooltips_new();
g_object_ref_sink(tip);