mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
gtk/gtkscale.c gtk/gtkscrolledwindow.c gtk/gtksocket.c gtk/gtkspinbutton.c
2008-08-08 Sven Neumann <sven@gimp.org> * gtk/gtkscale.c * gtk/gtkscrolledwindow.c * gtk/gtksocket.c * gtk/gtkspinbutton.c * gtk/gtkstatusbar.c * gtk/gtkstatusicon.c: use canonical signal names. svn path=/trunk/; revision=21046
This commit is contained in:
parent
e3c01cf601
commit
1b34902d33
@ -1,3 +1,12 @@
|
||||
2008-08-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtkscale.c
|
||||
* gtk/gtkscrolledwindow.c
|
||||
* gtk/gtksocket.c
|
||||
* gtk/gtkspinbutton.c
|
||||
* gtk/gtkstatusbar.c
|
||||
* gtk/gtkstatusicon.c: use canonical signal names.
|
||||
|
||||
2008-08-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* gtk/gtktext.c
|
||||
|
@ -102,7 +102,7 @@ single_string_accumulator (GSignalInvocationHint *ihint,
|
||||
|
||||
#define add_slider_binding(binding_set, keyval, mask, scroll) \
|
||||
gtk_binding_entry_add_signal (binding_set, keyval, mask, \
|
||||
I_("move_slider"), 1, \
|
||||
I_("move-slider"), 1, \
|
||||
GTK_TYPE_SCROLL_TYPE, scroll)
|
||||
|
||||
static void
|
||||
@ -127,7 +127,7 @@ gtk_scale_class_init (GtkScaleClass *class)
|
||||
range_class->get_range_border = gtk_scale_get_range_border;
|
||||
|
||||
signals[FORMAT_VALUE] =
|
||||
g_signal_new (I_("format_value"),
|
||||
g_signal_new (I_("format-value"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GtkScaleClass, format_value),
|
||||
|
@ -157,11 +157,11 @@ add_scroll_binding (GtkBindingSet *binding_set,
|
||||
guint keypad_keyval = keyval - GDK_Left + GDK_KP_Left;
|
||||
|
||||
gtk_binding_entry_add_signal (binding_set, keyval, mask,
|
||||
"scroll_child", 2,
|
||||
"scroll-child", 2,
|
||||
GTK_TYPE_SCROLL_TYPE, scroll,
|
||||
G_TYPE_BOOLEAN, horizontal);
|
||||
gtk_binding_entry_add_signal (binding_set, keypad_keyval, mask,
|
||||
"scroll_child", 2,
|
||||
"scroll-child", 2,
|
||||
GTK_TYPE_SCROLL_TYPE, scroll,
|
||||
G_TYPE_BOOLEAN, horizontal);
|
||||
}
|
||||
@ -172,10 +172,10 @@ add_tab_bindings (GtkBindingSet *binding_set,
|
||||
GtkDirectionType direction)
|
||||
{
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_Tab, modifiers,
|
||||
"move_focus_out", 1,
|
||||
"move-focus-out", 1,
|
||||
GTK_TYPE_DIRECTION_TYPE, direction);
|
||||
gtk_binding_entry_add_signal (binding_set, GDK_KP_Tab, modifiers,
|
||||
"move_focus_out", 1,
|
||||
"move-focus-out", 1,
|
||||
GTK_TYPE_DIRECTION_TYPE, direction);
|
||||
}
|
||||
|
||||
@ -319,7 +319,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
|
||||
|
||||
|
||||
signals[SCROLL_CHILD] =
|
||||
g_signal_new (I_("scroll_child"),
|
||||
g_signal_new (I_("scroll-child"),
|
||||
G_TYPE_FROM_CLASS (object_class),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
G_STRUCT_OFFSET (GtkScrolledWindowClass, scroll_child),
|
||||
@ -329,7 +329,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
|
||||
GTK_TYPE_SCROLL_TYPE,
|
||||
G_TYPE_BOOLEAN);
|
||||
signals[MOVE_FOCUS_OUT] =
|
||||
g_signal_new (I_("move_focus_out"),
|
||||
g_signal_new (I_("move-focus-out"),
|
||||
G_TYPE_FROM_CLASS (object_class),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
G_STRUCT_OFFSET (GtkScrolledWindowClass, move_focus_out),
|
||||
|
@ -152,7 +152,7 @@ gtk_socket_class_init (GtkSocketClass *class)
|
||||
* added to the socket.
|
||||
*/
|
||||
socket_signals[PLUG_ADDED] =
|
||||
g_signal_new (I_("plug_added"),
|
||||
g_signal_new (I_("plug-added"),
|
||||
G_OBJECT_CLASS_TYPE (class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GtkSocketClass, plug_added),
|
||||
@ -171,7 +171,7 @@ gtk_socket_class_init (GtkSocketClass *class)
|
||||
* Return value: %TRUE to stop other handlers from being invoked.
|
||||
*/
|
||||
socket_signals[PLUG_REMOVED] =
|
||||
g_signal_new (I_("plug_removed"),
|
||||
g_signal_new (I_("plug-removed"),
|
||||
G_OBJECT_CLASS_TYPE (class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GtkSocketClass, plug_removed),
|
||||
|
@ -357,7 +357,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
|
||||
|
||||
/* Action signals */
|
||||
spinbutton_signals[CHANGE_VALUE] =
|
||||
g_signal_new (I_("change_value"),
|
||||
g_signal_new (I_("change-value"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
|
||||
G_STRUCT_OFFSET (GtkSpinButtonClass, change_value),
|
||||
|
@ -152,7 +152,7 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
|
||||
* Is emitted whenever a new message gets pushed onto a statusbar's stack.
|
||||
*/
|
||||
statusbar_signals[SIGNAL_TEXT_PUSHED] =
|
||||
g_signal_new (I_("text_pushed"),
|
||||
g_signal_new (I_("text-pushed"),
|
||||
G_OBJECT_CLASS_TYPE (class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GtkStatusbarClass, text_pushed),
|
||||
@ -171,7 +171,7 @@ gtk_statusbar_class_init (GtkStatusbarClass *class)
|
||||
* Is emitted whenever a new message is popped off a statusbar's stack.
|
||||
*/
|
||||
statusbar_signals[SIGNAL_TEXT_POPPED] =
|
||||
g_signal_new (I_("text_popped"),
|
||||
g_signal_new (I_("text-popped"),
|
||||
G_OBJECT_CLASS_TYPE (class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GtkStatusbarClass, text_popped),
|
||||
|
@ -349,7 +349,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
|
||||
* Since: 2.10
|
||||
*/
|
||||
status_icon_signals [POPUP_MENU_SIGNAL] =
|
||||
g_signal_new (I_("popup_menu"),
|
||||
g_signal_new (I_("popup-menu"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
|
||||
G_STRUCT_OFFSET (GtkStatusIconClass, popup_menu),
|
||||
@ -375,7 +375,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
|
||||
* Since: 2.10
|
||||
*/
|
||||
status_icon_signals [SIZE_CHANGED_SIGNAL] =
|
||||
g_signal_new (I_("size_changed"),
|
||||
g_signal_new (I_("size-changed"),
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (GtkStatusIconClass, size_changed),
|
||||
|
Loading…
Reference in New Issue
Block a user