Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Mon, 15 Oct 2018 19:29:20 UTC Commit: cb1dbe3d93d90833e9da5af79eab26b8903cee1d https://github.com/geany/geany-plugins/commit/cb1dbe3d93d90833e9da5af79eab26...
Log Message: ----------- Add some TODOs
Modified Paths: -------------- projectorganizer/src/prjorg-sidebar.c
Modified: projectorganizer/src/prjorg-sidebar.c 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -397,6 +397,7 @@ static void on_create_file(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gp if (create_file(path)) { open_file(path); + //TODO: don't rescan the whole project, only change the affected file prjorg_project_rescan(); prjorg_sidebar_update(TRUE); } @@ -426,6 +427,7 @@ static void on_create_dir(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpo
if (create_dir(path)) { + //TODO: don't rescan the whole project, only change the affected directory prjorg_project_rescan(); prjorg_sidebar_update(TRUE); } @@ -466,6 +468,7 @@ static void on_rename(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointe gchar *newpath = g_build_path(G_DIR_SEPARATOR_S, dir, newname, NULL); if (rename_file_or_dir(oldpath, newpath)) { + //TODO: don't rescan the whole project, only change the affected file prjorg_project_rescan(); prjorg_sidebar_update(TRUE); } @@ -506,6 +509,7 @@ static void on_delete(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointe
g_free(path);
+ //TODO: don't rescan the whole project, only change the affected file prjorg_project_rescan(); prjorg_sidebar_update(TRUE); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).