[goffice] Use markup for graph tips.



commit fc3271cae28b8fb41afab772fe74e1e5e4985525
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sat May 1 15:18:58 2010 +0200

    Use markup for graph tips.

 ChangeLog                  |    4 ++++
 NEWS                       |    1 +
 goffice/canvas/goc-graph.c |    2 +-
 3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 630d257..6b0c848 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-01  Jean Brefort  <jean brefort normalesup org>
+
+	* goffice/canvas/goc-graph.c (goc_graph_do_tooltip): use markup for tips.
+
 2010-04-27  Jean Brefort  <jean brefort normalesup org>
 
 	* configure.in: check for gtk_widget_send_focus_change().
diff --git a/NEWS b/NEWS
index 4f90e8f..1c0858e 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ goffice 0.8.3:
 Jean:
 	* Improve probability plots.
 	* Implement the "combo-activate" signal in GOCombo. [#583175]
+	* Use markup for graph tips.
 
 Morten:
 	* Fix week numbers issue.
diff --git a/goffice/canvas/goc-graph.c b/goffice/canvas/goc-graph.c
index 4429ce3..6cab640 100644
--- a/goffice/canvas/goc-graph.c
+++ b/goffice/canvas/goc-graph.c
@@ -348,7 +348,7 @@ goc_graph_do_tooltip (GocGraph *graph)
 	}
 	gog_chart_map_free (map);
 tooltip:
-	gtk_widget_set_tooltip_text (GTK_WIDGET (item->canvas), buf);
+	gtk_widget_set_tooltip_markup (GTK_WIDGET (item->canvas), buf);
 	g_free (buf);
 }
 



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