[gtk+] radiobutton: :hover on hover
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] radiobutton: :hover on hover
- Date: Sat, 16 Aug 2014 15:10:10 +0000 (UTC)
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]