gtk/gtkaccelgroup.c gtk/gtkactiongroup.c gtk/gtkcalendar.c

2008-08-11  Sven Neumann  <sven@gimp.org>

	* gtk/gtkaccelgroup.c
	* gtk/gtkactiongroup.c
	* gtk/gtkcalendar.c
	* gtk/gtkcelleditable.c
	* gtk/gtkclipboard-quartz.c
	* gtk/gtkclipboard.c
	* gtk/gtkcolorbutton.c
	* gtk/gtkcolorsel.c
	* gtk/gtkcontainer.c
	* gtk/gtkcurve.c: use canonical signal names.


svn path=/trunk/; revision=21068
This commit is contained in:
Sven Neumann 2008-08-11 13:07:18 +00:00 committed by Sven Neumann
parent 0ab00ebc67
commit b5796771d2
11 changed files with 50 additions and 37 deletions

View File

@ -1,3 +1,16 @@
2008-08-11 Sven Neumann <sven@gimp.org>
* gtk/gtkaccelgroup.c
* gtk/gtkactiongroup.c
* gtk/gtkcalendar.c
* gtk/gtkcelleditable.c
* gtk/gtkclipboard-quartz.c
* gtk/gtkclipboard.c
* gtk/gtkcolorbutton.c
* gtk/gtkcolorsel.c
* gtk/gtkcontainer.c
* gtk/gtkcurve.c: use canonical signal names.
2008-08-11 Sven Neumann <sven@gimp.org>
* gtk/gtkentry.c

View File

@ -111,7 +111,7 @@ gtk_accel_group_class_init (GtkAccelGroupClass *class)
* Returns: %TRUE if the accelerator was activated
*/
signal_accel_activate =
g_signal_new (I_("accel_activate"),
g_signal_new (I_("accel-activate"),
G_OBJECT_CLASS_TYPE (class),
G_SIGNAL_DETAILED,
0,
@ -136,7 +136,7 @@ gtk_accel_group_class_init (GtkAccelGroupClass *class)
* their visual representation if the @accel_closure is theirs.
*/
signal_accel_changed =
g_signal_new (I_("accel_changed"),
g_signal_new (I_("accel-changed"),
G_OBJECT_CLASS_TYPE (class),
G_SIGNAL_RUN_FIRST | G_SIGNAL_DETAILED,
G_STRUCT_OFFSET (GtkAccelGroupClass, accel_changed),

View File

@ -192,7 +192,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
* @action: the action
* @proxy: the proxy
*
* The connect_proxy signal is emitted after connecting a proxy to
* The ::connect-proxy signal is emitted after connecting a proxy to
* an action in the group. Note that the proxy may have been connected
* to a different action before.
*
@ -207,7 +207,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
* Since: 2.4
*/
action_group_signals[CONNECT_PROXY] =
g_signal_new (I_("connect_proxy"),
g_signal_new (I_("connect-proxy"),
G_OBJECT_CLASS_TYPE (klass),
0, 0, NULL, NULL,
_gtk_marshal_VOID__OBJECT_OBJECT,
@ -220,7 +220,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
* @action: the action
* @proxy: the proxy
*
* The disconnect_proxy signal is emitted after disconnecting a proxy
* The ::disconnect-proxy signal is emitted after disconnecting a proxy
* from an action in the group.
*
* #GtkUIManager proxies the signal and provides global notification
@ -230,7 +230,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
* Since: 2.4
*/
action_group_signals[DISCONNECT_PROXY] =
g_signal_new (I_("disconnect_proxy"),
g_signal_new (I_("disconnect-proxy"),
G_OBJECT_CLASS_TYPE (klass),
0, 0, NULL, NULL,
_gtk_marshal_VOID__OBJECT_OBJECT,
@ -242,7 +242,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
* @action_group: the group
* @action: the action
*
* The pre_activate signal is emitted just before the @action in the
* The ::pre-activate signal is emitted just before the @action in the
* @action_group is activated
*
* This is intended for #GtkUIManager to proxy the signal and provide global
@ -251,7 +251,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
* Since: 2.4
*/
action_group_signals[PRE_ACTIVATE] =
g_signal_new (I_("pre_activate"),
g_signal_new (I_("pre-activate"),
G_OBJECT_CLASS_TYPE (klass),
0, 0, NULL, NULL,
_gtk_marshal_VOID__OBJECT,
@ -263,7 +263,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
* @action_group: the group
* @action: the action
*
* The post_activate signal is emitted just after the @action in the
* The ::post-activate signal is emitted just after the @action in the
* @action_group is activated
*
* This is intended for #GtkUIManager to proxy the signal and provide global
@ -272,7 +272,7 @@ gtk_action_group_class_init (GtkActionGroupClass *klass)
* Since: 2.4
*/
action_group_signals[POST_ACTIVATE] =
g_signal_new (I_("post_activate"),
g_signal_new (I_("post-activate"),
G_OBJECT_CLASS_TYPE (klass),
0, 0, NULL, NULL,
_gtk_marshal_VOID__OBJECT,

View File

@ -580,7 +580,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
GTK_PARAM_READWRITE));
gtk_calendar_signals[MONTH_CHANGED_SIGNAL] =
g_signal_new (I_("month_changed"),
g_signal_new (I_("month-changed"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, month_changed),
@ -588,7 +588,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
gtk_calendar_signals[DAY_SELECTED_SIGNAL] =
g_signal_new (I_("day_selected"),
g_signal_new (I_("day-selected"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, day_selected),
@ -596,7 +596,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
gtk_calendar_signals[DAY_SELECTED_DOUBLE_CLICK_SIGNAL] =
g_signal_new (I_("day_selected_double_click"),
g_signal_new (I_("day-selected-double-click"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, day_selected_double_click),
@ -604,7 +604,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
gtk_calendar_signals[PREV_MONTH_SIGNAL] =
g_signal_new (I_("prev_month"),
g_signal_new (I_("prev-month"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, prev_month),
@ -612,7 +612,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
gtk_calendar_signals[NEXT_MONTH_SIGNAL] =
g_signal_new (I_("next_month"),
g_signal_new (I_("next-month"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, next_month),
@ -620,7 +620,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
gtk_calendar_signals[PREV_YEAR_SIGNAL] =
g_signal_new (I_("prev_year"),
g_signal_new (I_("prev-year"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, prev_year),
@ -628,7 +628,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
gtk_calendar_signals[NEXT_YEAR_SIGNAL] =
g_signal_new (I_("next_year"),
g_signal_new (I_("next-year"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, next_year),

View File

@ -77,7 +77,7 @@ gtk_cell_editable_base_init (gpointer g_class)
* gtk_cell_editable_editing_done() is a convenience method
* for emitting ::editing-done.
*/
g_signal_new (I_("editing_done"),
g_signal_new (I_("editing-done"),
GTK_TYPE_CELL_EDITABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkCellEditableIface, editing_done),
@ -101,7 +101,7 @@ gtk_cell_editable_base_init (gpointer g_class)
* gtk_cell_editable_remove_widget() is a convenience method
* for emitting ::remove-widget.
*/
g_signal_new (I_("remove_widget"),
g_signal_new (I_("remove-widget"),
GTK_TYPE_CELL_EDITABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkCellEditableIface, remove_widget),
@ -141,7 +141,7 @@ gtk_cell_editable_editing_done (GtkCellEditable *cell_editable)
{
g_return_if_fail (GTK_IS_CELL_EDITABLE (cell_editable));
g_signal_emit_by_name (cell_editable, "editing_done");
g_signal_emit_by_name (cell_editable, "editing-done");
}
/**
@ -155,7 +155,7 @@ gtk_cell_editable_remove_widget (GtkCellEditable *cell_editable)
{
g_return_if_fail (GTK_IS_CELL_EDITABLE (cell_editable));
g_signal_emit_by_name (cell_editable, "remove_widget");
g_signal_emit_by_name (cell_editable, "remove-widget");
}
#define __GTK_CELL_EDITABLE_C__

View File

@ -194,7 +194,7 @@ gtk_clipboard_class_init (GtkClipboardClass *class)
class->owner_change = gtk_clipboard_owner_change;
clipboard_signals[OWNER_CHANGE] =
g_signal_new (I_("owner_change"),
g_signal_new (I_("owner-change"),
G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkClipboardClass, owner_change),
@ -1292,7 +1292,7 @@ gtk_clipboard_wait_is_target_available (GtkClipboard *clipboard,
* _gtk_clipboard_handle_event:
* @event: a owner change event
*
* Emits the ::owner_change signal on the appropriate @clipboard.
* Emits the ::owner-change signal on the appropriate @clipboard.
*
* Since: 2.6
**/

View File

@ -186,7 +186,7 @@ gtk_clipboard_class_init (GtkClipboardClass *class)
* Since: 2.6
*/
clipboard_signals[OWNER_CHANGE] =
g_signal_new (I_("owner_change"),
g_signal_new (I_("owner-change"),
G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkClipboardClass, owner_change),

View File

@ -232,7 +232,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
*
* Since: 2.4
*/
color_button_signals[COLOR_SET] = g_signal_new (I_("color_set"),
color_button_signals[COLOR_SET] = g_signal_new (I_("color-set"),
G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkColorButtonClass, color_set),

View File

@ -303,7 +303,7 @@ gtk_color_selection_class_init (GtkColorSelectionClass *klass)
GTK_PARAM_READWRITE));
color_selection_signals[COLOR_CHANGED] =
g_signal_new (I_("color_changed"),
g_signal_new (I_("color-changed"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkColorSelectionClass, color_changed),

View File

@ -274,7 +274,7 @@ gtk_container_class_init (GtkContainerClass *class)
G_TYPE_NONE, 1,
GTK_TYPE_WIDGET);
container_signals[CHECK_RESIZE] =
g_signal_new (I_("check_resize"),
g_signal_new (I_("check-resize"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkContainerClass, check_resize),

View File

@ -164,7 +164,7 @@ gtk_curve_class_init (GtkCurveClass *class)
GTK_PARAM_READWRITE));
curve_type_changed_signal =
g_signal_new (I_("curve_type_changed"),
g_signal_new (I_("curve-type-changed"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCurveClass, curve_type_changed),