Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/hulahop-web-view.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-06-13 08:39:27 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-06-13 08:39:27 (GMT)
commitfe86acf314161823a648dd480e55915dc184e057 (patch)
treea5a9dd31bf456252c18dbed2047b5c5a622b1ec6 /src/hulahop-web-view.cpp
parentb6344b9e64a06ea452a42d0e77204f7f072cc9c0 (diff)
Implement grab_focus
Diffstat (limited to 'src/hulahop-web-view.cpp')
-rw-r--r--src/hulahop-web-view.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hulahop-web-view.cpp b/src/hulahop-web-view.cpp
index dc34326..bd6f14e 100644
--- a/src/hulahop-web-view.cpp
+++ b/src/hulahop-web-view.cpp
@@ -299,3 +299,11 @@ hulahop_web_view_create_window(HulahopWebView *web_view)
GTK_WIDGET_UNSET_FLAGS(GTK_WIDGET(web_view), GTK_NO_WINDOW);
}
+
+void
+hulahop_web_view_grab_focus(HulahopWebView *web_view)
+{
+ if (web_view->mozilla_widget) {
+ gtk_widget_grab_focus(web_view->mozilla_widget);
+ }
+}