forked from AuroraMiddleware/gtk
gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): * gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator) Make sure check and option marks are drawn insensitive when the widgets are insensitive. (#92548, patch from Tim Evans) Sun Nov 10 21:25:04 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8 to restore binary compatibility.
This commit is contained in:
parent
ac116999c2
commit
ee6029e7f4
15
ChangeLog
15
ChangeLog
@ -1,3 +1,18 @@
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
|
||||
|
||||
Make sure check and option marks are drawn insensitive when the
|
||||
widgets are insensitive.
|
||||
|
||||
(#92548, patch from Tim Evans)
|
||||
|
||||
Sun Nov 10 21:25:04 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8
|
||||
to restore binary compatibility.
|
||||
|
||||
2002-11-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix a
|
||||
|
@ -1,3 +1,18 @@
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
|
||||
|
||||
Make sure check and option marks are drawn insensitive when the
|
||||
widgets are insensitive.
|
||||
|
||||
(#92548, patch from Tim Evans)
|
||||
|
||||
Sun Nov 10 21:25:04 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8
|
||||
to restore binary compatibility.
|
||||
|
||||
2002-11-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix a
|
||||
|
@ -1,3 +1,18 @@
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
|
||||
|
||||
Make sure check and option marks are drawn insensitive when the
|
||||
widgets are insensitive.
|
||||
|
||||
(#92548, patch from Tim Evans)
|
||||
|
||||
Sun Nov 10 21:25:04 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8
|
||||
to restore binary compatibility.
|
||||
|
||||
2002-11-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix a
|
||||
|
@ -1,3 +1,18 @@
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
|
||||
|
||||
Make sure check and option marks are drawn insensitive when the
|
||||
widgets are insensitive.
|
||||
|
||||
(#92548, patch from Tim Evans)
|
||||
|
||||
Sun Nov 10 21:25:04 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8
|
||||
to restore binary compatibility.
|
||||
|
||||
2002-11-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix a
|
||||
|
@ -1,3 +1,18 @@
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
|
||||
|
||||
Make sure check and option marks are drawn insensitive when the
|
||||
widgets are insensitive.
|
||||
|
||||
(#92548, patch from Tim Evans)
|
||||
|
||||
Sun Nov 10 21:25:04 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8
|
||||
to restore binary compatibility.
|
||||
|
||||
2002-11-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix a
|
||||
|
@ -1,3 +1,18 @@
|
||||
Sun Nov 10 21:29:03 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator):
|
||||
* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator)
|
||||
|
||||
Make sure check and option marks are drawn insensitive when the
|
||||
widgets are insensitive.
|
||||
|
||||
(#92548, patch from Tim Evans)
|
||||
|
||||
Sun Nov 10 21:25:04 2002 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtkwidget.h (struct _GtkWidgetClass): Remove _gtk_reserved8
|
||||
to restore binary compatibility.
|
||||
|
||||
2002-11-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix a
|
||||
|
@ -415,6 +415,8 @@ gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
|
||||
state_type = GTK_STATE_ACTIVE;
|
||||
else if (button->in_button)
|
||||
state_type = GTK_STATE_PRELIGHT;
|
||||
else if (!GTK_WIDGET_SENSITIVE (widget))
|
||||
state_type = GTK_STATE_INSENSITIVE;
|
||||
else
|
||||
state_type = GTK_STATE_NORMAL;
|
||||
|
||||
@ -440,7 +442,7 @@ gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
|
||||
new_area.width, new_area.height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
gtk_paint_check (widget->style, widget->window,
|
||||
state_type, shadow_type,
|
||||
area, widget, "checkbutton",
|
||||
|
@ -642,6 +642,8 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
|
||||
state_type = GTK_STATE_ACTIVE;
|
||||
else if (button->in_button)
|
||||
state_type = GTK_STATE_PRELIGHT;
|
||||
else if (!GTK_WIDGET_SENSITIVE (widget))
|
||||
state_type = GTK_STATE_INSENSITIVE;
|
||||
else
|
||||
state_type = GTK_STATE_NORMAL;
|
||||
|
||||
|
@ -408,7 +408,6 @@ struct _GtkWidgetClass
|
||||
void (*_gtk_reserved5) (void);
|
||||
void (*_gtk_reserved6) (void);
|
||||
void (*_gtk_reserved7) (void);
|
||||
void (*_gtk_reserved8) (void);
|
||||
};
|
||||
|
||||
struct _GtkWidgetAuxInfo
|
||||
|
Loading…
Reference in New Issue
Block a user