[Github-comments] [geany/geany] Rpg sidebar tree (see #259) (#1813)
Thomas Martitz
notifications at xxxxx
Thu Aug 1 13:43:00 UTC 2019
kugel- commented on this pull request.
> + }
+ case TREE_CASE_PARENT_OF:
+ {
+ /* More complicated logic. This dir should be a parent
+ * of existing, so reparent existing dir. */
+ has_parent = gtk_tree_model_iter_parent(model, &iter, &data.best_iter);
+ tree_add_new_dir(parent, has_parent ? &iter : NULL, path);
+ tree_copy_recursive(&data.best_iter, parent);
+ gtk_tree_store_remove(store_openfiles, &data.best_iter);
+ break;
+ }
+ case TREE_CASE_HAVE_SAME_PARENT:
+ {
+ /* Even more complicated logic. Both dirs have same
+ * parent, so create new parent and reparent them */
+ GtkTreeIter parent_buf;
Will rename
--
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/1813#discussion_r309702835
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190801/a5f8111e/attachment.html>
More information about the Github-comments
mailing list