<p></p>
<p>This is weird:<br>
<code>gtk_rc_get_default_files()</code> returns the following paths on Windows:</p>
<pre><code>C:\Program Files (x86)\Geany\data\geany.gtkrc
C:\Program Files (x86)\Geany\share\gtk-2.0\gtkrc
C:\ProgramData\gtk-2.0\gtkrc
C:\Program Files (x86)\Geany\etc\gtk-2.0\gtkrc
C:\Users\enrico\.gtkrc-2.0
</code></pre>
<p>According to the documentation, all of these files should read by GTK.<br>
However, setting <code>gtk-icon-sizes</code> in any of these files doesn't have any effect.</p>
<p><strong>But</strong> setting <code>gtk-icon-sizes</code> in <code>C:\Program Files (x86)\Geany\share\themes\MS-Windows\gtk-2.0\gtkrc</code> does work actually.</p>
<p>This file  is overridden when you update Geany next time as it is part of the installer, so editing it doesn't make much sense.<br>
Instead:<br>
Copy the folder <code>C:\Program Files (x86)\Geany\share\themes\MS-Windows</code> to <code>c:\users\<username>\.themes</code> and then edit the <code>gtkrc</code> file in the new location.<br>
For me that worked well. You just need to take care with the <code>.themes</code> folder, the leading dot is important but the Windows Explorer to create directories with a leading dot. Creating the folder using the terminal does work.</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/issues/1957#issuecomment-633991061">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJY5QKBJMMXT4MHB2KTRTOYDLANCNFSM4FV6BPHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYB5FAXIPZSFUUUGVLRTOYDLA5CNFSM4FV6BPH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEXE67FI.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/issues/1957#issuecomment-633991061",
"url": "https://github.com/geany/geany/issues/1957#issuecomment-633991061",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>