[geany/geany-plugins] 575791: debugger: Fix tooltips in the Call Stack

Colomban Wendling git-noreply at xxxxx
Fri Feb 5 01:17:40 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 05 Feb 2016 01:17:40 UTC
Commit:      575791a862f93c4eceec9825e9e7ffce5cc69cb4
             https://github.com/geany/geany-plugins/commit/575791a862f93c4eceec9825e9e7ffce5cc69cb4

Log Message:
-----------
debugger: Fix tooltips in the Call Stack

Fix a funny typo leading to incorrect restriction of tooltip display.


Modified Paths:
--------------
    debugger/src/stree.c

Modified: debugger/src/stree.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -135,7 +135,7 @@ static gboolean on_query_tooltip(GtkWidget *widget, gint x, gint y, gboolean key
 
 				g_free(path);
 			}
-			else if (column == gtk_tree_view_get_column(GTK_TREE_VIEW(widget), S_ADRESS && bx >= start_pos && bx < start_pos + width))
+			else if (column == gtk_tree_view_get_column(GTK_TREE_VIEW(widget), S_ADRESS) && bx >= start_pos && bx < start_pos + width)
 			{
 				gtk_tooltip_set_text(tooltip, gtk_tree_path_get_indices(tpath)[1] == active_frame_index ? _("Active frame") : _("Click an arrow to switch to a frame"));
 				gtk_tree_view_set_tooltip_row(GTK_TREE_VIEW(widget), tooltip, tpath);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list