ntrel commented on this pull request.
> @@ -455,60 +456,104 @@ static void
> on_close_documents_right_activate(GtkMenuItem *menuitem, GeanyDocume
}
+// simple implementation (vs. close all which doesn't close documents if
cancelled)
+static void close_folder_action(GeanyDocument *cur_doc, gboolean other_folders)
+{
+ if (cur_doc == NULL)
+ cur_doc = document_get_current();
+ if (!cur_doc->real_path)
+ return;
+
+ gchar *dir = g_dirname(cur_doc->real_path);
Thanks, fixed.
--
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/2346#discussion_r333002228