[Github-comments] [geany/geany-plugins] Project Organizer: Add option to open current folder in file manager and terminal (PR #1126)

xiota notifications at xxxxx
Wed Nov 10 20:56:51 UTC 2021


@xiota commented on this pull request.



> @@ -300,6 +300,181 @@ static void on_follow_active(GtkToggleToolButton *button, G_GNUC_UNUSED gpointer
 }
 
 
+/* returns parent folder of path from get_full_path_for_selection()
+ *   if unable to find parent folder, returns home folder
+ *   otherwise, returns NULL
+ * return path is in locale encoding */
+static gchar *get_folder_for_selection(void)

I didn't know about `parent_dir_for_create()`.  Renaming to `get_dir_of_selection()`.  Changing `get_folder_for_selection()` to `get_fallback_dir_of_selection()`.

-- 
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-plugins/pull/1126#discussion_r746979234
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211110/64c938fe/attachment.htm>


More information about the Github-comments mailing list