[Pkg-sugar-commit] [sugar-artwork] 03/10: Show background color in toggle and radio buttons in toolbar with Gtk >= 3.14

Jonas Smedegaard dr at jones.dk
Mon Jun 15 00:01:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag v0.105.1
in repository sugar-artwork.

commit f001eaee65cd99ece69922c690f37be9438bb6b4
Author: Gonzalo Odiard <godiard at gmail.com>
Date:   Mon May 11 10:27:56 2015 -0300

    Show background color in toggle and radio buttons in toolbar with Gtk >= 3.14
    
    As noted here [1], Gtk introduced a new state "checked"
    to show when a radio and check buttons are pressed.
    This solve the issue showed in Fedora 21 where the radio and toggle
    buttons in the toolbar didn't show the state.
    
    [1] https://git.gnome.org/browse/gtk+/commit/?id=2c65e259448a9ec261f0dcf420662300786204c2
---
 gtk3/theme/gtk-widgets.css.em | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 7c111cb..04e3649 100644
--- a/gtk3/theme/gtk-widgets.css.em
+++ b/gtk3/theme/gtk-widgets.css.em
@@ -601,7 +601,11 @@ SugarPaletteWindowWidget GtkToolButton .button:prelight {
 }
 
 .toolbar SugarRadioToolButton *:active,
-SugarPaletteWindowWidget SugarRadioToolButton *:active {
+SugarPaletteWindowWidget SugarRadioToolButton *:active,
+.toolbar SugarRadioToolButton *:checked,
+SugarPaletteWindowWidget SugarRadioToolButton *:checked,
+.toolbar SugarToggleToolButton *:checked,
+SugarPaletteWindowWidget SugarToggleToolButton *:checked {
     background-color: @button_grey;
     border-radius: $(toolbutton_padding)px;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-artwork.git



More information about the pkg-sugar-commit mailing list