Button: Project/New/Create
*Create* button always has an icon, even when `.gtkrc-2.0` has `gtk-button-images` set to `0`.
![geany_button_create](https://cloud.githubusercontent.com/assets/2053884/14358719/ea2426d6-fcf6-11...)
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987
To save anyone looking for it:
https://github.com/geany/geany/blob/master/src/project.c#L158
calls
https://github.com/geany/geany/blob/master/src/ui_utils.c#L1546
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-207139722
Most likely the same for unsaved files confirmation dialog "Don't Save" button, and find dialog "Next" and "Previous" buttons since they also call the "helper" function in the 2nd link.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-207140358
The user choice should probably be respected here.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208181863
Isn't it up to GTK to obey its settings?
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208187838
I can imagine it doesn't do that for the way we set that buttons up (see @codebrainz link)
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208188328
[This](https://developer.gnome.org/gtk3/2.90/GtkButton.html#gtk-button-set-image) says it is up to GTK.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208188569
Looks like it. This is not a Geany bug then.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208210414
It's probably a theme bug, it works here (Orion theme, GTK+ 2.24.28).
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208224922
It's probably a theme bug, it works here (Orion theme, GTK+ 2.24.28).
Icon still appears with Adwaita, Clearlooks, Crux, Industrial, Mist, Raleigh and Thinice.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208438245
Maybe a GNOME bug? I'm using KDE. If I can get onto Windows later, I'll try and test it there.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208625878
I have tested this under Xfce (with `xfsettingsd`) and under Fluxbox, IceWM and Openbox (without `xfsettingsd`).
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208697960
So GTK only works in KDE :)
The GTK docs linked above say that the appearance of the icon depends on the setting and the user code doesn't have to do anything. Its a GTK bug.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208703861
For record, other GTK+ programs that have this issue are Leafpad and Liferea.
Leafpad: Search > Jump To... > Jump (GTK+ 2) Liferea: Search > Search All Feeds... > Advanced... > Search Folder... (GTK+ 3)
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208712982
Note some desktops will override the user settings with their GUI controls, eg cinnamon has a GUI setting for having icons and it controls both gtk2 and gtk3 settings so the look and feel is the same for both. The value in ~/.gtkrc-2.0 is ignored.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208718469
@GreenLunar The icon in Leafpad doesn't follow the setting here either, but Geany does.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208721421
Note some desktops will override the user settings with their GUI controls
I am aware of it; this is why I have detailed with and without `xfsettingsd`.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-208727789
@GNOME, is there a bug report on this matter?
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/987#issuecomment-210777240
github-comments@lists.geany.org