Make 'Inspect Element' always show the inspector
Without scripts enabled, this doesn't happen implicitly.
This commit is contained in:
parent
9c84a2c407
commit
bae41b45a8
1 changed files with 1 additions and 0 deletions
|
@ -1872,6 +1872,7 @@ midori_web_view_menu_inspect_element_activate_cb (GtkWidget* widget,
|
||||||
x = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "x"));
|
x = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "x"));
|
||||||
y = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "y"));
|
y = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "y"));
|
||||||
webkit_web_inspector_inspect_coordinates (inspector, x, y);
|
webkit_web_inspector_inspect_coordinates (inspector, x, y);
|
||||||
|
webkit_web_inspector_show (inspector);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue