[gnumeric] Fix placement of hyperlink tooltip. [#701436]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix placement of hyperlink tooltip. [#701436]
- Date: Sat, 1 Jun 2013 21:12:13 +0000 (UTC)
commit 48766846c582afc08eb8724fc1513fa5c9f93b63
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sat Jun 1 15:10:51 2013 -0600
Fix placement of hyperlink tooltip. [#701436]
2013-06-01 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/item-grid.c (cb_cursor_come_to_rest): gnumeric_position_tooltip needs the
tooltip size, so load the text before calling it.
ChangeLog | 5 +++++
NEWS | 1 +
src/item-grid.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e565851..bfba320 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-01 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * src/item-grid.c (cb_cursor_come_to_rest): gnumeric_position_tooltip needs the
+ tooltip size, so load the text before calling it.
+
2013-05-29 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/item-grid.c (item_grid_button_released): do not trigger hyper link
diff --git a/NEWS b/NEWS
index 00363f5..4b849e4 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Andreas:
has focus. [#699746]
* Add a keyboard shortcut to jump to the current cell indicator.
[#699710]
+ * Fix placement of hyperlink tooltip. [#701436]
Darrell Tangman:
* Update documentation for Edit and Insert menus. [#700596]
diff --git a/src/item-grid.c b/src/item-grid.c
index a281f3d..80b4ab1 100644
--- a/src/item-grid.c
+++ b/src/item-grid.c
@@ -1075,8 +1075,8 @@ cb_cursor_come_to_rest (GnmItemGrid *ig)
gnm_canvas_get_position (canvas, &wx, &wy,
ig->last_x, ig->last_y);
ig->tip = gnumeric_create_tooltip (cw);
- gnumeric_position_tooltip (ig->tip, wx, wy, TRUE);
gtk_label_set_text (GTK_LABEL (ig->tip), tiptext);
+ gnumeric_position_tooltip (ig->tip, wx, wy, TRUE);
gtk_widget_show_all (gtk_widget_get_toplevel (ig->tip));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]