[Xfce4-commits] <midori:master> Make 'Inspect Element' always show the inspector
Christian Dywan
noreply at xfce.org
Sat Aug 14 21:16:01 CEST 2010
Updating branch refs/heads/master
to bae41b45a82c0422ea5c6fb5423b740595cf9cee (commit)
from 9c84a2c407aad6147666a86343cc5c0b6db098b1 (commit)
commit bae41b45a82c0422ea5c6fb5423b740595cf9cee
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Aug 14 21:12:02 2010 +0200
Make 'Inspect Element' always show the inspector
Without scripts enabled, this doesn't happen implicitly.
midori/midori-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 5827643..a6c6a85 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -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"));
y = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (widget), "y"));
webkit_web_inspector_inspect_coordinates (inspector, x, y);
+ webkit_web_inspector_show (inspector);
}
#endif
More information about the Xfce4-commits
mailing list