[gtk+] radiobutton: :hover on hover



commit 0f7c90ac6294566e06e08bb54ff18b80ea0de31c
Author: Benjamin Otte <otte redhat com>
Date:   Fri Aug 15 18:30:19 2014 +0200

    radiobutton: :hover on hover
    
    No special cases, those go in the theme.

 gtk/gtkradiobutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index 86c7ca3..ec15635 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -862,7 +862,7 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
       (button->priv->button_down && button->priv->in_button))
     state |= GTK_STATE_FLAG_ACTIVE;
 
-  if (button->priv->in_button && !(state & GTK_STATE_FLAG_INSENSITIVE))
+  if (button->priv->in_button)
     state |= GTK_STATE_FLAG_PRELIGHT;
 
   if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]