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 355986 - Win-Gimp: Alignment tool button icons missing
Win-Gimp: Alignment tool button icons missing
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.3.x
Other Windows
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-09-14 16:41 UTC by Juergen Kraus
Modified: 2008-01-15 14:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Juergen Kraus 2006-09-14 16:41:30 UTC
Please describe the problem:
In the Windows version of Gimp the icons of the alignment tool buttons are missing. In the Linux version (tested with v2.3.10 - own build under Ubuntu 6.06) everything is fine.

Screenshots:

Windows: http://www.cross-soft.de/misc/Alignment1.png
Linux: http://www.cross-soft.de/misc/Alignment2.png



Steps to reproduce:
Right after starting the program - select the alignment tool and see yourself

Actual results:


Expected results:


Does this happen every time?
yes

Other information:
Tested with Gimp 2.3.11-devel / GTK+ 2.8.18 under Windows XP Professional SP2 German
Comment 1 Sven Neumann 2006-09-15 07:56:42 UTC
The buttons must not be created using gtk_button_new_from_stock(). The stock icon needs to be added explicitely. Whether stock buttons have icons or not is controlled by the theme and defaults to off on the Win32 platform. Bill, can you fix this, please.
Comment 2 weskaggs 2006-09-15 16:38:37 UTC
No.  I would be happy to, but I have no idea what "add explicitly" means.  If you can point me to an explanation, I'll try to figure it out.
Comment 3 Sven Neumann 2006-09-17 13:16:13 UTC
Create a GtkImage with the icon and add it to the button. That's what adding it explicitely means.
Comment 4 Michael Schumacher 2006-09-17 18:21:20 UTC
The levels tool used to have the same problem in a previous version, IIRC it has been corrected in gimp_levels_tool_color_picker_new() in gimplevelstool.c. Unless it's still borken there, this could be used as an example.
Comment 5 Sven Neumann 2006-09-18 13:25:44 UTC
2006-09-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpaligntool.c: rewrote the UI without tables and
	separators (eek). Also fixes bug #355986.