[orca] Fix for bug #637653 - In a new setup, the Orca Preferences window no longer gets focus.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug #637653 - In a new setup, the Orca Preferences window no longer gets focus.
- Date: Mon, 20 Dec 2010 21:38:51 +0000 (UTC)
commit 89b73044beb188e654653ed40f5f56f668589852
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Mon Dec 20 16:29:49 2010 -0500
Fix for bug #637653 - In a new setup, the Orca Preferences window no longer gets focus.
src/orca/orca_gui_prefs.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index d781423..6cd55bd 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -2367,7 +2367,8 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
ts = orca_state.lastInputEventTimestamp
if ts == 0:
ts = gtk.get_current_event_time()
- orcaSetupWindow.window.set_user_time(ts)
+ if ts > 0:
+ orcaSetupWindow.window.set_user_time(ts)
except AttributeError:
debug.printException(debug.LEVEL_FINEST)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]