mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-03 17:21:11 +00:00
entry: Stop being activatable
Activating entries does not do anything. Activate the default widget instead.
This commit is contained in:
parent
d77ede508c
commit
78a9b5d1ed
@ -1448,11 +1448,6 @@ gtk_entry_class_init (GtkEntryClass *class)
|
|||||||
* The ::activate signal is emitted when the user hits
|
* The ::activate signal is emitted when the user hits
|
||||||
* the Enter key.
|
* the Enter key.
|
||||||
*
|
*
|
||||||
* While this signal is used as a
|
|
||||||
* [keybinding signal][GtkBindingSignal],
|
|
||||||
* it is also commonly used by applications to intercept
|
|
||||||
* activation of entries.
|
|
||||||
*
|
|
||||||
* The default bindings for this signal are all forms of the Enter key.
|
* The default bindings for this signal are all forms of the Enter key.
|
||||||
*/
|
*/
|
||||||
signals[ACTIVATE] =
|
signals[ACTIVATE] =
|
||||||
@ -1463,7 +1458,6 @@ gtk_entry_class_init (GtkEntryClass *class)
|
|||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
NULL,
|
NULL,
|
||||||
G_TYPE_NONE, 0);
|
G_TYPE_NONE, 0);
|
||||||
widget_class->activate_signal = signals[ACTIVATE];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkEntry::move-cursor:
|
* GtkEntry::move-cursor:
|
||||||
|
Loading…
Reference in New Issue
Block a user