2008-03-31 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-page-action.c: (ev_page_action_grab_focus):
Only grab the focus for the current visible proxy widget. Fixes
bug #521224.
svn path=/trunk/; revision=2984
+2008-03-31 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-page-action.c: (ev_page_action_grab_focus):
+
+ Only grab the focus for the current visible proxy widget. Fixes
+ bug #521224.
+
2008-03-30 Emil Soleyman <emil@nishra.com>
* shell/ev-window.c: (launch_external_uri):
EvPageActionWidget *proxy;
proxy = EV_PAGE_ACTION_WIDGET (proxies->data);
- gtk_widget_grab_focus (proxy->entry);
+
+ if (GTK_WIDGET_MAPPED (GTK_WIDGET (proxy)))
+ gtk_widget_grab_focus (proxy->entry);
}
}