Merged from miln005

master
Yevgen Muntyan 2006-11-16 20:34:05 -06:00
commit cb1421750a
1 changed files with 6 additions and 0 deletions

View File

@ -151,6 +151,9 @@ moo_action_activate (GtkAction *gtkaction)
{ {
MooAction *action = MOO_ACTION (gtkaction); MooAction *action = MOO_ACTION (gtkaction);
if (GTK_ACTION_CLASS (moo_action_parent_class)->activate)
GTK_ACTION_CLASS (moo_action_parent_class)->activate (gtkaction);
if (action->priv->closure) if (action->priv->closure)
moo_closure_invoke (action->priv->closure); moo_closure_invoke (action->priv->closure);
} }
@ -352,6 +355,9 @@ moo_toggle_action_toggled (GtkToggleAction *gtkaction)
{ {
MooToggleAction *action = MOO_TOGGLE_ACTION (gtkaction); MooToggleAction *action = MOO_TOGGLE_ACTION (gtkaction);
if (GTK_TOGGLE_ACTION_CLASS (moo_toggle_action_parent_class)->toggled)
GTK_TOGGLE_ACTION_CLASS (moo_toggle_action_parent_class)->toggled (gtkaction);
if (action->priv->callback) if (action->priv->callback)
{ {
if (MOO_OBJECT_PTR_GET (action->priv->ptr)) if (MOO_OBJECT_PTR_GET (action->priv->ptr))