[geany/geany-plugins] 0abcc7: Merge pull request #960 from ChrisJAllan/treebrowser-root
Enrico Tröger
git-noreply at xxxxx
Sat Jan 22 12:43:57 UTC 2022
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: GitHub <noreply at github.com>
Date: Sat, 22 Jan 2022 12:43:57 UTC
Commit: 0abcc76f5497b253de77a2518d625418e21b8ce2
https://github.com/geany/geany-plugins/commit/0abcc76f5497b253de77a2518d625418e21b8ce2
Log Message:
-----------
Merge pull request #960 from ChrisJAllan/treebrowser-root
TreeBrowser: Allow new file/folder in top level
Modified Paths:
--------------
treebrowser/src/treebrowser.c
Modified: treebrowser/src/treebrowser.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -1076,7 +1076,11 @@ on_menu_create_new_object(GtkMenuItem *menuitem, const gchar *type)
gtk_tree_model_get(model, &iter_parent, TREEBROWSER_COLUMN_URI, &uri, -1);
}
else
+ {
+ SETPTR(uri, g_path_get_dirname(uri));
+
refresh_root = TRUE;
+ }
}
}
else
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list