summaryrefslogtreecommitdiff
path: root/gtk/gtkmenushell.c
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2008-08-11 11:52:06 +0000
committerSven Neumann <neo@src.gnome.org>2008-08-11 11:52:06 +0000
commit9cf66a8a9cdff2d29d80a57276a7c30736d90f8c (patch)
tree1a4b394ec0ca938cfdc4b6f1cadf90b656ea5a34 /gtk/gtkmenushell.c
parent36b3bed631c5f462b5ed5d3f1ab3f37636285c05 (diff)
downloadgtk+-9cf66a8a9cdff2d29d80a57276a7c30736d90f8c.tar.gz
gtk/gtkmenu.c gtk/gtkmenuitem.c gtk/gtkmenushell.c gtk/gtknotebook.c
2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkmenu.c * gtk/gtkmenuitem.c * gtk/gtkmenushell.c * gtk/gtknotebook.c * gtk/gtkoldeditable.c * gtk/gtkpaned.c: use canonical signal names. svn path=/trunk/; revision=21063
Diffstat (limited to 'gtk/gtkmenushell.c')
-rw-r--r--gtk/gtkmenushell.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index 79a250b341..b0804a9489 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -261,7 +261,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass)
G_TYPE_NONE, 0);
menu_shell_signals[MOVE_CURRENT] =
- g_signal_new (I_("move_current"),
+ g_signal_new (I_("move-current"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkMenuShellClass, move_current),
@@ -271,7 +271,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass)
GTK_TYPE_MENU_DIRECTION_TYPE);
menu_shell_signals[ACTIVATE_CURRENT] =
- g_signal_new (I_("activate_current"),
+ g_signal_new (I_("activate-current"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkMenuShellClass, activate_current),
@@ -290,7 +290,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass)
G_TYPE_NONE, 0);
menu_shell_signals[CYCLE_FOCUS] =
- g_signal_new_class_handler (I_("cycle_focus"),
+ g_signal_new_class_handler (I_("cycle-focus"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_real_menu_shell_cycle_focus),
@@ -312,7 +312,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass)
* Since: 2.12
*/
menu_shell_signals[MOVE_SELECTED] =
- g_signal_new (I_("move_selected"),
+ g_signal_new (I_("move-selected"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkMenuShellClass, move_selected),
@@ -327,36 +327,36 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass)
"cancel", 0);
gtk_binding_entry_add_signal (binding_set,
GDK_Return, 0,
- "activate_current", 1,
+ "activate-current", 1,
G_TYPE_BOOLEAN,
TRUE);
gtk_binding_entry_add_signal (binding_set,
GDK_ISO_Enter, 0,
- "activate_current", 1,
+ "activate-current", 1,
G_TYPE_BOOLEAN,
TRUE);
gtk_binding_entry_add_signal (binding_set,
GDK_KP_Enter, 0,
- "activate_current", 1,
+ "activate-current", 1,
G_TYPE_BOOLEAN,
TRUE);
gtk_binding_entry_add_signal (binding_set,
GDK_space, 0,
- "activate_current", 1,
+ "activate-current", 1,
G_TYPE_BOOLEAN,
FALSE);
gtk_binding_entry_add_signal (binding_set,
GDK_KP_Space, 0,
- "activate_current", 1,
+ "activate-current", 1,
G_TYPE_BOOLEAN,
FALSE);
gtk_binding_entry_add_signal (binding_set,
GDK_F10, 0,
- "cycle_focus", 1,
+ "cycle-focus", 1,
GTK_TYPE_DIRECTION_TYPE, GTK_DIR_TAB_FORWARD);
gtk_binding_entry_add_signal (binding_set,
GDK_F10, GDK_SHIFT_MASK,
- "cycle_focus", 1,
+ "cycle-focus", 1,
GTK_TYPE_DIRECTION_TYPE, GTK_DIR_TAB_BACKWARD);
/**