[Geany] Hiding *.pyc files in TreeBrowser

Filip Gruszczyński gruszczy at xxxxx
Thu Jan 20 15:15:39 UTC 2011


TreeBrowser is hiding now object files, that there is no sense to
display. This is cool, but it displays *.pyc files, that aren't
edited. Maybe you could change it? I am posting a very tiny patch,
that adds this extension.

-- 
Filip Gruszczyński
-------------- next part --------------
Index: geany-plugins/treebrowser/src/treebrowser.c
===================================================================
--- geany-plugins/treebrowser/src/treebrowser.c	(wersja 1859)
+++ geany-plugins/treebrowser/src/treebrowser.c	(kopia robocza)
@@ -222,7 +222,7 @@
 	gchar		**filters;
 	guint 		i;
 	gboolean 	temporary_reverse 	= FALSE;
-	const gchar *exts[] 			= {".o", ".obj", ".so", ".dll", ".a", ".lib"};
+	const gchar *exts[] 			= {".o", ".obj", ".so", ".dll", ".a", ".lib", ".pyc"};
 	guint exts_len;
 	const gchar *ext;
 	gboolean	filtered;


More information about the Users mailing list