[Bug 997645] gtk colored buttons

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 19 16:05:09 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=997645

Tom "spot" Callaway <tcallawa at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ccecchi at redhat.com
          Component|perl-Gtk2                   |gnome-themes-standard
           Assignee|tcallawa at redhat.com         |ccecchi at redhat.com



--- Comment #8 from Tom "spot" Callaway <tcallawa at redhat.com> ---
Bet you thought I forgot about this one. ;)

I found a hacky way to "fix" the Adwaita theme to respect the button coloring,
add this line to /usr/share/themes/Adwaita/gtk-2.0/gtkrc

     class "GtkButton" style "button"

A patch would look like this:

--- /usr/share/themes/Adwaita/gtk-2.0/gtkrc.ORIG    2014-09-19
11:29:39.196388897 -0400
+++ /usr/share/themes/Adwaita/gtk-2.0/gtkrc    2014-09-19 11:55:25.608067462
-0400
@@ -5,6 +5,8 @@
 gtk-auto-mnemonics              = 1
 gtk-primary-button-warps-slider = 1

+class "GtkButton" style "button"
+
 style "default"
 {
     xthickness    = 1

*****

I say that it is a hack, because it seems to change a lot of the other visual
behavior of gtk2 apps as well. I suspect strongly that there is a more nuanced,
specific change that can be made to the gtkrc to permit GtkButton buttons to be
recolorable, but I don't know what it is.

Reassigning this bug to gnome-theme-standard in the hopes that the maintainer
there will know a more precise change to make to the Adwaita theme.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=5OUjsE7BzJ&a=cc_unsubscribe



More information about the perl-devel mailing list