@xiota commented on this pull request.


In projectorganizer/src/prjorg-sidebar.c:

> +	}
+
+	if (!gtk_tree_model_iter_has_child(model, &iter))
+	{
+		if (gtk_tree_model_iter_parent(model, &parent, &iter))
+			utf8_path = build_path(&parent);
+		else
+			utf8_path = build_path(NULL);
+	}
+	else
+		utf8_path = build_path(&iter);
+
+	locale_path = utils_get_locale_from_utf8(utf8_path);
+	if (locale_path)
+	{
+		command = g_strconcat ("xdg-open \"", locale_path, "\"", NULL);

On Windows, the equivalent of xdg-open is start. I don't know about MacOS. I'll search around.

I think Geany has some utility functions for running external programs if system() is not portable.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.