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 645654 - GtkToggleButton children of GdlSwitcher should set GtkJunctionSides
GtkToggleButton children of GdlSwitcher should set GtkJunctionSides
Status: RESOLVED FIXED
Product: gdl
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-25 19:50 UTC by Christian Hergert
Modified: 2011-04-06 21:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Set GtkJunctionSides for GtkToggleButton children (2.58 KB, patch)
2011-03-25 19:50 UTC, Christian Hergert
none Details | Review
Screenshot of adwaita theme with GtkJunctionSides set (111.24 KB, image/png)
2011-03-25 19:52 UTC, Christian Hergert
  Details

Description Christian Hergert 2011-03-25 19:50:52 UTC
Created attachment 184210 [details] [review]
Set GtkJunctionSides for GtkToggleButton children

GtkToggleButton children of GdlSwitcher should set GtkJunctionSides.

This will allow the theming engines to draw the buttons in a way that will look appropriate for a group of buttons.

I've attached a patch to do this. It also removes the h/v padding, but preserves the spacing between the GdlDockItem and the buttons.
Comment 1 Christian Hergert 2011-03-25 19:52:08 UTC
Created attachment 184211 [details]
Screenshot of adwaita theme with GtkJunctionSides set

Adding screenshot with patch applied.
Comment 2 Johannes Schmid 2011-04-06 21:22:05 UTC
Thanks, I committed this to master and gnome-3-0 branch.