diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-01 05:11:46 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-01 05:11:46 +0000 |
commit | 94eec042676a8e18cebc9af8f27cd251355f4ba4 (patch) | |
tree | 51b9ff698258fc9799413f62fb82589c8d525f0e /gtk/gtkmenushell.c | |
parent | f4bbe8f0deb8d1c36829acfc791d632d27805f30 (diff) | |
download | gtk+-94eec042676a8e18cebc9af8f27cd251355f4ba4.tar.gz |
Intern some more strings.
2005-09-01 Matthias Clasen <mclasen@redhat.com>
* gdk/*.c: Intern some more strings.
* gtk/gtkintl.h:
* gtk/*.c: Define an I_() macro and use it instead of the
bulky g_intern_static_string().
Diffstat (limited to 'gtk/gtkmenushell.c')
-rw-r--r-- | gtk/gtkmenushell.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c index ac6a0d7fd0..bce558672a 100644 --- a/gtk/gtkmenushell.c +++ b/gtk/gtkmenushell.c @@ -227,7 +227,7 @@ gtk_menu_shell_get_type (void) }; menu_shell_type = - g_type_register_static (GTK_TYPE_CONTAINER, g_intern_static_string ("GtkMenuShell"), + g_type_register_static (GTK_TYPE_CONTAINER, I_("GtkMenuShell"), &menu_shell_info, G_TYPE_FLAG_ABSTRACT); } @@ -277,7 +277,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass) klass->insert = gtk_menu_shell_real_insert; menu_shell_signals[DEACTIVATE] = - g_signal_new ("deactivate", + g_signal_new (I_("deactivate"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkMenuShellClass, deactivate), @@ -285,7 +285,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass) _gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); menu_shell_signals[SELECTION_DONE] = - g_signal_new ("selection-done", + g_signal_new (I_("selection-done"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkMenuShellClass, selection_done), @@ -293,7 +293,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass) _gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); menu_shell_signals[MOVE_CURRENT] = - g_signal_new ("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), @@ -302,7 +302,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass) G_TYPE_NONE, 1, GTK_TYPE_MENU_DIRECTION_TYPE); menu_shell_signals[ACTIVATE_CURRENT] = - g_signal_new ("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), @@ -311,7 +311,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass) G_TYPE_NONE, 1, G_TYPE_BOOLEAN); menu_shell_signals[CANCEL] = - g_signal_new ("cancel", + g_signal_new (I_("cancel"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GtkMenuShellClass, cancel), @@ -319,7 +319,7 @@ gtk_menu_shell_class_init (GtkMenuShellClass *klass) _gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); menu_shell_signals[CYCLE_FOCUS] = - _gtk_binding_signal_new ("cycle_focus", + _gtk_binding_signal_new (I_("cycle_focus"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_CALLBACK (gtk_real_menu_shell_cycle_focus), |