SF.net SVN: geany-plugins:[1101] trunk/geany-plugins/addons

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Jan 1 22:28:44 UTC 2010


Revision: 1101
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1101&view=rev
Author:   eht16
Date:     2010-01-01 22:28:39 +0000 (Fri, 01 Jan 2010)

Log Message:
-----------
List tasks only once per line even if there were more than one matching token.

Modified Paths:
--------------
    trunk/geany-plugins/addons/ChangeLog
    trunk/geany-plugins/addons/src/ao_tasks.c

Modified: trunk/geany-plugins/addons/ChangeLog
===================================================================
--- trunk/geany-plugins/addons/ChangeLog	2010-01-01 22:27:24 UTC (rev 1100)
+++ trunk/geany-plugins/addons/ChangeLog	2010-01-01 22:28:39 UTC (rev 1101)
@@ -7,6 +7,8 @@
  * src/ao_tasks.c:
    Implement a Delete menu item for the tasks list popup menu to easily
    delete tasks (closes #2911105).
+   List tasks only once per line even if there were more than
+   one matching token.
 
 
 2009-12-08  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/geany-plugins/addons/src/ao_tasks.c
===================================================================
--- trunk/geany-plugins/addons/src/ao_tasks.c	2010-01-01 22:27:24 UTC (rev 1100)
+++ trunk/geany-plugins/addons/src/ao_tasks.c	2010-01-01 22:28:39 UTC (rev 1101)
@@ -528,6 +528,8 @@
 						-1);
 					g_free(context);
 					g_free(tooltip);
+					/* if we found a token, continue on next line */
+					break;
 				}
 				token++;
 			}


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



More information about the Plugins-Commits mailing list