[baobab/issue_14_pie_chart_gone_further_cleanup: 2/5] Disable leave_notify_event as it gets called on tooltip.




commit 11da24bdb2505a8b85c553012a99c610f316e70f
Author: Eduard Nicodei <eddnicodei gmail com>
Date:   Sat Jan 9 16:42:48 2021 +0000

    Disable leave_notify_event as it gets called on tooltip.

 src/baobab-chart.vala | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/src/baobab-chart.vala b/src/baobab-chart.vala
index b9b710e..a5a5b47 100644
--- a/src/baobab-chart.vala
+++ b/src/baobab-chart.vala
@@ -239,14 +239,6 @@ namespace Baobab {
             return false;
         }
 
-        public override bool leave_notify_event (Gdk.EventCrossing event) {
-            if (!context_menu.visible) {
-                highlighted_item = null;
-            }
-
-            return false;
-        }
-
         unowned List<ChartItem> add_item (uint depth, double rel_start, double rel_size, Gtk.TreeIter iter) {
             string name;
             string display_name;


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