[gnumeric] Fix persistence of hyperlinks tips. [see #724108]



commit 38946120f7ae64c6a855b3be62e7739d45aff699
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sun Feb 16 18:45:32 2014 +0100

    Fix persistence of hyperlinks tips. [see #724108]

 ChangeLog       |    5 +++++
 NEWS            |    3 +++
 src/item-grid.c |    2 ++
 3 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 85841bf..cc62a88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-16  Jean Brefort  <jean brefort normalesup org>
+
+       * src/item-grid.c (item_grid_realize): fix persistence of hyperlink tips.
+       [see #724108]
+
 2014-02-16  Morten Welinder <terra gnome org>
 
        * configure.ac: Post-release bump.
diff --git a/NEWS b/NEWS
index 10fd29f..a5ff7ee 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 Gnumeric 1.12.12
 
+Jean:
+       * Fix persistence of hyperlinks tips. [see #724108]
+
 --------------------------------------------------------------------------
 Gnumeric 1.12.11
 
diff --git a/src/item-grid.c b/src/item-grid.c
index e8e2739..ebdf55a 100644
--- a/src/item-grid.c
+++ b/src/item-grid.c
@@ -211,6 +211,8 @@ item_grid_realize (GocItem *item)
                        gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), "cursor_cross", 32, 0, NULL),
                        17, 17);
        cb_cursor_motion (ig);
+       /* we need to destroy the hlink tip when the state flags change */
+       g_signal_connect_swapped (item->canvas, "state-flags-changed", G_CALLBACK (ig_clear_hlink_tip), item);
 }
 
 static void


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