Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Nikita Churaev
gtk
Commits
b18bb07b
Commit
b18bb07b
authored
Dec 02, 2000
by
Anders Carlsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit GtkToggleButton fix to HEAD too.
parent
35876710
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
65 additions
and
5 deletions
+65
-5
ChangeLog
ChangeLog
+7
-0
ChangeLog.pre-2-0
ChangeLog.pre-2-0
+7
-0
ChangeLog.pre-2-10
ChangeLog.pre-2-10
+7
-0
ChangeLog.pre-2-2
ChangeLog.pre-2-2
+7
-0
ChangeLog.pre-2-4
ChangeLog.pre-2-4
+7
-0
ChangeLog.pre-2-6
ChangeLog.pre-2-6
+7
-0
ChangeLog.pre-2-8
ChangeLog.pre-2-8
+7
-0
gtk/gtktogglebutton.c
gtk/gtktogglebutton.c
+16
-5
No files found.
ChangeLog
View file @
b18bb07b
2000-20-01 Anders Carlsson <andersca@gnu.org>
* gtk/gtktogglebutton.c (gtk_toggle_button_draw): Fix bug when
a GtkToggleButton is both insensitive and active, it was being
drawn by the GtkButton draw handler which doesn't check the
state. Now it's calling gtk_toggle_button_paint instead.
2000-11-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create
...
...
ChangeLog.pre-2-0
View file @
b18bb07b
2000-20-01 Anders Carlsson <andersca@gnu.org>
* gtk/gtktogglebutton.c (gtk_toggle_button_draw): Fix bug when
a GtkToggleButton is both insensitive and active, it was being
drawn by the GtkButton draw handler which doesn't check the
state. Now it's calling gtk_toggle_button_paint instead.
2000-11-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create
...
...
ChangeLog.pre-2-10
View file @
b18bb07b
2000-20-01 Anders Carlsson <andersca@gnu.org>
* gtk/gtktogglebutton.c (gtk_toggle_button_draw): Fix bug when
a GtkToggleButton is both insensitive and active, it was being
drawn by the GtkButton draw handler which doesn't check the
state. Now it's calling gtk_toggle_button_paint instead.
2000-11-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create
...
...
ChangeLog.pre-2-2
View file @
b18bb07b
2000-20-01 Anders Carlsson <andersca@gnu.org>
* gtk/gtktogglebutton.c (gtk_toggle_button_draw): Fix bug when
a GtkToggleButton is both insensitive and active, it was being
drawn by the GtkButton draw handler which doesn't check the
state. Now it's calling gtk_toggle_button_paint instead.
2000-11-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create
...
...
ChangeLog.pre-2-4
View file @
b18bb07b
2000-20-01 Anders Carlsson <andersca@gnu.org>
* gtk/gtktogglebutton.c (gtk_toggle_button_draw): Fix bug when
a GtkToggleButton is both insensitive and active, it was being
drawn by the GtkButton draw handler which doesn't check the
state. Now it's calling gtk_toggle_button_paint instead.
2000-11-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create
...
...
ChangeLog.pre-2-6
View file @
b18bb07b
2000-20-01 Anders Carlsson <andersca@gnu.org>
* gtk/gtktogglebutton.c (gtk_toggle_button_draw): Fix bug when
a GtkToggleButton is both insensitive and active, it was being
drawn by the GtkButton draw handler which doesn't check the
state. Now it's calling gtk_toggle_button_paint instead.
2000-11-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create
...
...
ChangeLog.pre-2-8
View file @
b18bb07b
2000-20-01 Anders Carlsson <andersca@gnu.org>
* gtk/gtktogglebutton.c (gtk_toggle_button_draw): Fix bug when
a GtkToggleButton is both insensitive and active, it was being
drawn by the GtkButton draw handler which doesn't check the
state. Now it's calling gtk_toggle_button_paint instead.
2000-11-30 Havoc Pennington <hp@pobox.com>
* gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create
...
...
gtk/gtktogglebutton.c
View file @
b18bb07b
...
...
@@ -401,11 +401,22 @@ static gint
gtk_toggle_button_expose
(
GtkWidget
*
widget
,
GdkEventExpose
*
event
)
{
if
(
!
GTK_WIDGET_NO_WINDOW
(
widget
)
&&
GTK_WIDGET_CLASS
(
parent_class
)
->
expose_event
)
return
GTK_WIDGET_CLASS
(
parent_class
)
->
expose_event
(
widget
,
event
);
else
return
FALSE
;
GtkBin
*
bin
;
GdkEventExpose
child_event
;
if
(
GTK_WIDGET_DRAWABLE
(
widget
))
{
bin
=
GTK_BIN
(
widget
);
gtk_toggle_button_paint
(
widget
,
&
event
->
area
);
child_event
=
*
event
;
if
(
bin
->
child
&&
GTK_WIDGET_NO_WINDOW
(
bin
->
child
)
&&
gtk_widget_intersect
(
bin
->
child
,
&
event
->
area
,
&
child_event
.
area
))
gtk_widget_event
(
bin
->
child
,
(
GdkEvent
*
)
&
child_event
);
}
return
TRUE
;
}
static
void
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment