forked from AuroraMiddleware/gtk
inspector: Add focus handling to the property editor
We want to focus the actual control here.
This commit is contained in:
parent
287d80bd36
commit
76d80ef516
@ -1741,12 +1741,16 @@ static void
|
||||
gtk_inspector_prop_editor_class_init (GtkInspectorPropEditorClass *klass)
|
||||
{
|
||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
|
||||
|
||||
object_class->constructed = constructed;
|
||||
object_class->finalize = finalize;
|
||||
object_class->get_property = get_property;
|
||||
object_class->set_property = set_property;
|
||||
|
||||
widget_class->focus = gtk_widget_focus_child;
|
||||
widget_class->grab_focus = gtk_widget_grab_focus_child;
|
||||
|
||||
signals[SHOW_OBJECT] =
|
||||
g_signal_new ("show-object",
|
||||
G_TYPE_FROM_CLASS (object_class),
|
||||
|
Loading…
Reference in New Issue
Block a user