[Github-comments] [geany/geany] Add features for sorting editor tabs (#1144)

Colomban Wendling notifications at xxxxx
Sat Jul 30 15:44:05 UTC 2016


> +			g_free(base_b);
> +		}
> +
> +		g_free(dirname_b);
> +		++pos;
> +	}
> +
> +	g_free(base_a);
> +	g_free(dirname_a);
> +	move_tab(doc, -1);
> +}
> +
> +
> +static void on_document_open(GObject *obj, GeanyDocument *doc)
> +{
> +	if (interface_prefs.show_notebook_tabs)

this most likely is a bad case of premature optimization.  Because it the user had the tabs hidden but sorting enabled, and shows the tabs, it won't be sorted as he probably would have expected.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1144/files/c064984ff29744294b7c25d2987c5b51f3c24405#r72889521
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160730/92c43713/attachment.html>


More information about the Github-comments mailing list