SF.net SVN: geany-plugins:[1057] trunk/geany-plugins/codenav/src/ switch_head_impl.c

funto66 at users.sourceforge.net funto66 at xxxxx
Mon Nov 23 10:46:15 UTC 2009


Revision: 1057
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1057&view=rev
Author:   funto66
Date:     2009-11-23 10:46:15 +0000 (Mon, 23 Nov 2009)

Log Message:
-----------
Bugfix : CodeNav : preferences for "switch head/impl" was buggy...

Modified Paths:
--------------
    trunk/geany-plugins/codenav/src/switch_head_impl.c

Modified: trunk/geany-plugins/codenav/src/switch_head_impl.c
===================================================================
--- trunk/geany-plugins/codenav/src/switch_head_impl.c	2009-11-23 10:31:45 UTC (rev 1056)
+++ trunk/geany-plugins/codenav/src/switch_head_impl.c	2009-11-23 10:46:15 UTC (rev 1057)
@@ -417,6 +417,9 @@
 	if(lang->head_extensions == NULL || lang->impl_extensions == NULL)
 		return;
 
+	/* Append an empty row */
+	gtk_list_store_append(list_store, &tree_iter);
+
 	/* Header extensions */
 	p_str = concatenate_extensions(lang->head_extensions);
 	gtk_list_store_set(list_store, &tree_iter, COLUMN_HEAD, p_str, -1);
@@ -424,7 +427,6 @@
 
 	/* Implementation extensions */
 	p_str = concatenate_extensions(lang->impl_extensions);
-	gtk_list_store_append(list_store, &tree_iter);
 	gtk_list_store_set(list_store, &tree_iter, COLUMN_IMPL, p_str, -1);
 	g_free(p_str);
 }


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