<p>I noticed several problems with the tree browser:</p>
<ol>
<li>The green toolbar icon with my theme corresponds to a document icon but it should be an action icon</li>
</ol>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/713965/66708120-d9910200-ed4b-11e9-8c15-0cb73bf49861.png"><img width="479" alt="Screen Shot 2019-10-12 at 20 53 41" src="https://user-images.githubusercontent.com/713965/66708120-d9910200-ed4b-11e9-8c15-0cb73bf49861.png" style="max-width:100%;"></a></p>
2. Expanded folder icon is wrong and corresponds to document open action icon instead of a file type icon
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/713965/66708125-fcbbb180-ed4b-11e9-86f9-e4d86157d969.png"><img width="479" alt="Screen Shot 2019-10-12 at 20 54 03" src="https://user-images.githubusercontent.com/713965/66708125-fcbbb180-ed4b-11e9-86f9-e4d86157d969.png" style="max-width:100%;"></a></p>
3. On MacOS folder icons are themed differently than e.g. ProjectOrganizer or File browser plugins.
<p>This pull request addresses these issues and makes some cleanups of the code in addition.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/927'>https://github.com/geany/geany-plugins/pull/927</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>treebrowser: Use GIcon instead of pixbuf for tree icons</li>
  <li>treebrowser: Use better icons</li>
  <li>treebrowser: introduce a helper function and eliminate some #if's</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/927/files#diff-0">treebrowser/src/treebrowser.c</a>
    (192)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/927.patch'>https://github.com/geany/geany-plugins/pull/927.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/927.diff'>https://github.com/geany/geany-plugins/pull/927.diff</a></li>
</ul>

<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/927?email_source=notifications&email_token=AAIOWJ7SBVSXPJS52MAN4YDQOJCD5A5CNFSM4JAEQCYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRMUYIA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5BVOZRWE2ADPDZU2TQOJCD5ANCNFSM4JAEQCYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2Z4BVDDWWPAO7XJODQOJCD5A5CNFSM4JAEQCYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRMUYIA.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/927?email_source=notifications\u0026email_token=AAIOWJ7SBVSXPJS52MAN4YDQOJCD5A5CNFSM4JAEQCYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRMUYIA",
"url": "https://github.com/geany/geany-plugins/pull/927?email_source=notifications\u0026email_token=AAIOWJ7SBVSXPJS52MAN4YDQOJCD5A5CNFSM4JAEQCYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRMUYIA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>