After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759345 - Fix for prefs dialog to add icon theme support
Fix for prefs dialog to add icon theme support
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
git master
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2015-12-11 12:03 UTC by Ben
Modified: 2015-12-12 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch that adds icon theme support to prefs dialog (46.47 KB, patch)
2015-12-11 12:03 UTC, Ben
none Details | Review

Description Ben 2015-12-11 12:03:50 UTC
Created attachment 317202 [details] [review]
patch that adds icon theme support to prefs dialog

This patch fixes the preferences dialog to add icon theme support.
Comment 1 Michael Natterer 2015-12-11 17:48:05 UTC
Thanks a lot, but, um, GtkCellrendererPixbuf does that job just fine...
Comment 2 Ben 2015-12-11 18:11:25 UTC
It didn't work here (and yes i had new .config folder here) now when i swap the icon theme the prefs dialog changes with this patch. where it didn't before.
Comment 3 Ben 2015-12-11 18:13:31 UTC
To clarify the original way worked when the app loaded but when swapping the icon theme i still had the original in prefs even though it changed every where else,  now with this patch it also swaps to the new one.
Comment 4 Ben 2015-12-11 18:18:29 UTC
refer to my comments on this from the original bug report for icon theme  i have screenshots there of the issue. (759105)
Comment 5 Michael Natterer 2015-12-11 20:18:38 UTC
Applying and trying as we speak...
Comment 6 Michael Natterer 2015-12-11 20:36:40 UTC
Nice patch, but please don't mix code and declarations, all variables must
be declared at the beginning of the block. I'm fixing this locally...
Comment 7 Ben 2015-12-11 20:38:43 UTC
Thanks, will remember that in the future, sorry.
Comment 8 Michael Natterer 2015-12-11 21:18:22 UTC
No problem, each code base has different rules :)

Anyway, I'm sorry that you went through the effort of making that
cell renderer, because it works absolutely fine with the default
GTK+ renderer.

Also, can you please fix your git config to have your name in it? Because
that's also how you will be credited in AUTHORS.

commit 55270366d7734953a2d6f1c4420f7f5bada10031
Author: Benoit Touchette <draekko.sofware@gmail.com>
Date:   Fri Dec 11 06:29:50 2015 -0500

    Bug 759345 - Fix for prefs dialog to add icon theme support
    
    Change GimpPrefsBox to use icon names instead of pixbufs, and change
    preferences-dialog.c accordingly.

 app/dialogs/preferences-dialog.c | 210 ++++++++++++++++++++++++--------------------------
 app/widgets/gimpprefsbox.c       |  92 +++++++++++-----------
 app/widgets/gimpprefsbox.h       |  24 +++---
 3 files changed, 163 insertions(+), 163 deletions(-)
Comment 9 Ben 2015-12-12 11:44:31 UTC
Ok will check to fix that.