<p></p>
<p><b>@xiota</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany-plugins/pull/1126#discussion_r738805849">projectorganizer/src/prjorg-sidebar.c</a>:</p>
<pre style='color:#555'>> +    }
+
+       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);
</pre>
<p>On Windows, the equivalent of <code>xdg-open</code> is <code>start</code>.  I don't know about MacOS.  I'll search around.</p>
<p>I think Geany has some utility functions for running external programs if <code>system()</code> is not portable.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/1126#discussion_r738805849">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYRM27XHUDVU4ZTGCTUJHCDTANCNFSM5GTVPZ4Q">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ5W4HI5WDXOBEF62CTUJHCDTA5CNFSM5GTVPZ42YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOF46BTCA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/1126#discussion_r738805849",
"url": "https://github.com/geany/geany-plugins/pull/1126#discussion_r738805849",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>