<blockquote>
<p>Opening files in recursive directories is something that belongs in a plugin, not in core.</p>
</blockquote>

<p>I thought it's doable, but I'm not sure about the idea of mirror-copying open-dialog-box related codes to a plugin.  Having an Open Dialog box under Tools menu also seems awkward.  But I can do that if I decide to.</p>

<blockquote>
<p>Also look at the project plugins (there are two of them at least) because they may do part of what you want too and also the treebrowser plugin which does recursive directory walking without too-new glib functions.</p>
</blockquote>

<p>It's ok.  I can easily picture how it can be done with <code>g_file_enumerator_next_file()</code>.  Also, it seems like not explicitly requesting a GFile instance from an iteration function is better since we don't need it when we're opening a file.  An instance should only be created if we're opening another directory.</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/pull/1163#issuecomment-237833181">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ0_PgWAoPNGomVqCbgFXapZD-BBzks5qcyYugaJpZM4JdBJU">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ-irQqMA-n0GfHRD5HZhSAuJRQIpks5qcyYugaJpZM4JdBJU.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1163#issuecomment-237833181"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/modules/aws/aws-bg.jpg","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@konsolebox in #1163: \u003e Opening files in recursive directories is something that belongs in a plugin, not in core.\r\n\r\nI thought it's doable, but I'm not sure about the idea of mirror-copying open-dialog-box related codes to a plugin.  Having an Open Dialog box under Tools menu also seems awkward.  But I can do that if I decide to.\r\n\r\n\u003e Also look at the project plugins (there are two of them at least) because they may do part of what you want too and also the treebrowser plugin which does recursive directory walking without too-new glib functions.\r\n\r\nIt's ok.  I can easily picture how it can be done with `g_file_enumerator_next_file()`.  Also, it seems like not explicitly requesting a GFile instance from an iteration function is better since we don't need it when we're opening a file.  An instance should only be created if we're opening another directory."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1163#issuecomment-237833181"}}}</script>