summaryrefslogtreecommitdiff
path: root/gtk/gtkaction.h
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-12-19 00:39:10 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-12-19 00:39:10 +0000
commitbc5d7efe972009efdc4cf2b3691d5ce36c0b5a49 (patch)
treea3de2b9b6705631e9412349bf48215f59d2e5e8d /gtk/gtkaction.h
parent4d9e9afdc10a232220c3db67db577805974279f4 (diff)
downloadgdk-pixbuf-bc5d7efe972009efdc4cf2b3691d5ce36c0b5a49.tar.gz
Fix the behaviour of insensitive actions, which was broken when
Fri Dec 19 01:35:34 2003 Matthias Clasen <maclas@gmx.de> Fix the behaviour of insensitive actions, which was broken when gtk_action_activate() was changed to pay attention to sensitivity (#129557, Christian Persch) * gtk/gtkaction.h: * gtk/gtkaction.c (_gtk_action_emit_activate): New auxiliary function to emit an activate signal without regard to sensitivity. * gtk/gtkradioaction.c: * gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate() instead of gtk_action_activate().
Diffstat (limited to 'gtk/gtkaction.h')
-rw-r--r--gtk/gtkaction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkaction.h b/gtk/gtkaction.h
index df0464e27..e855052d6 100644
--- a/gtk/gtkaction.h
+++ b/gtk/gtkaction.h
@@ -100,6 +100,7 @@ void gtk_action_block_activate_from (GtkAction *action,
GtkWidget *proxy);
void gtk_action_unblock_activate_from (GtkAction *action,
GtkWidget *proxy);
+void _gtk_action_emit_activate (GtkAction *action);
/* protected ... for use by action groups */
void gtk_action_set_accel_path (GtkAction *action,
@@ -107,6 +108,7 @@ void gtk_action_set_accel_path (GtkAction *action,
void gtk_action_set_accel_group (GtkAction *action,
GtkAccelGroup *accel_group);
+
G_END_DECLS
#endif /* __GTK_ACTION_H__ */