Notify on the ::active property _here_, not in
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate): Notify on the ::active property _here_, not in gtk_check_menu_item_set_active.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
|
||||
Notify on the ::active property _here_, not in
|
||||
gtk_check_menu_item_set_active.
|
||||
|
||||
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
|
||||
Notify on the ::active property _here_, not in
|
||||
gtk_check_menu_item_set_active.
|
||||
|
||||
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
|
||||
Notify on the ::active property _here_, not in
|
||||
gtk_check_menu_item_set_active.
|
||||
|
||||
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
|
||||
Notify on the ::active property _here_, not in
|
||||
gtk_check_menu_item_set_active.
|
||||
|
||||
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
|
||||
Notify on the ::active property _here_, not in
|
||||
gtk_check_menu_item_set_active.
|
||||
|
||||
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
|
||||
Notify on the ::active property _here_, not in
|
||||
gtk_check_menu_item_set_active.
|
||||
|
||||
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
Tue Nov 27 20:17:55 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activate):
|
||||
Notify on the ::active property _here_, not in
|
||||
gtk_check_menu_item_set_active.
|
||||
|
||||
Mon Nov 26 19:11:18 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkcellrendererpixbuf.c
|
||||
|
||||
@ -204,10 +204,7 @@ gtk_check_menu_item_set_active (GtkCheckMenuItem *check_menu_item,
|
||||
is_active = is_active != 0;
|
||||
|
||||
if (check_menu_item->active != is_active)
|
||||
{
|
||||
gtk_menu_item_activate (GTK_MENU_ITEM (check_menu_item));
|
||||
g_object_notify (G_OBJECT(check_menu_item), "active");
|
||||
}
|
||||
gtk_menu_item_activate (GTK_MENU_ITEM (check_menu_item));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -335,6 +332,8 @@ gtk_check_menu_item_activate (GtkMenuItem *menu_item)
|
||||
|
||||
gtk_check_menu_item_toggled (check_menu_item);
|
||||
gtk_widget_queue_draw (GTK_WIDGET (check_menu_item));
|
||||
|
||||
g_object_notify (G_OBJECT(check_menu_item), "active");
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user