SF.net SVN: geany: [1291] branches/geany-0.10.1

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Feb 16 16:34:58 UTC 2007


Revision: 1291
          http://svn.sourceforge.net/geany/?rev=1291&view=rev
Author:   eht16
Date:     2007-02-16 08:34:57 -0800 (Fri, 16 Feb 2007)

Log Message:
-----------
Prevent right click in Symbol list from selecting a tag.

Modified Paths:
--------------
    branches/geany-0.10.1/NEWS
    branches/geany-0.10.1/src/treeviews.c

Modified: branches/geany-0.10.1/NEWS
===================================================================
--- branches/geany-0.10.1/NEWS	2007-02-15 23:56:15 UTC (rev 1290)
+++ branches/geany-0.10.1/NEWS	2007-02-16 16:34:57 UTC (rev 1291)
@@ -32,6 +32,7 @@
     * Fixed wrong D function return type after a class definition.
     * Added several missing style types for filetype Perl (thanks to
       John Gabriele for reporting).
+    * Prevent right click in Symbol list from selecting a tag.
 
     Internationalisation:
     * New translations: fi (thanks to Harri Koskinen).

Modified: branches/geany-0.10.1/src/treeviews.c
===================================================================
--- branches/geany-0.10.1/src/treeviews.c	2007-02-15 23:56:15 UTC (rev 1290)
+++ branches/geany-0.10.1/src/treeviews.c	2007-02-16 16:34:57 UTC (rev 1291)
@@ -599,8 +599,11 @@
 			gtk_menu_popup(GTK_MENU(tv.popup_openfiles), NULL, NULL, NULL, NULL,
 																event->button, event->time);
 		else if (GPOINTER_TO_INT(user_data) == TREEVIEW_SYMBOL)
+		{
 			gtk_menu_popup(GTK_MENU(tv.popup_taglist), NULL, NULL, NULL, NULL,
 																event->button, event->time);
+			return TRUE; // prevent selection changed signal for symbol tags
+		}
 	}
 	return FALSE;
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list