evince r2984 - in trunk: . shell
- From: carlosgc svn gnome org
- To: svn-commits-list gnome org
- Subject: evince r2984 - in trunk: . shell
- Date: Mon, 31 Mar 2008 12:32:38 +0100 (BST)
Author: carlosgc
Date: Mon Mar 31 12:32:38 2008
New Revision: 2984
URL: http://svn.gnome.org/viewvc/evince?rev=2984&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/shell/ev-page-action.c
Modified: trunk/shell/ev-page-action.c
==============================================================================
--- trunk/shell/ev-page-action.c (original)
+++ trunk/shell/ev-page-action.c Mon Mar 31 12:32:38 2008
@@ -361,7 +361,9 @@
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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]