[orca/new-settings] Fix the hang and another issue when the Ok button is pressed.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Fix the hang and another issue when the Ok button is pressed.
- Date: Wed, 27 Oct 2010 00:29:54 +0000 (UTC)
commit 54b7658eaa22bad3ea35bfb4ccbc126ab02475aa
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Tue Oct 26 20:29:09 2010 -0400
Fix the hang and another issue when the Ok button is pressed.
src/orca/orca_gui_prefs.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index d50f631..abe40be 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -2308,9 +2308,9 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
currentIter = model.get_iter_first()
while currentIter is not None:
key, value = model.get(currentIter, ACTUAL, REPLACEMENT)
- if key != "" and value != "":
+ if key and value:
modelDict[key] = value
- model.iter_next(currentIter)
+ currentIter = model.iter_next(currentIter)
return modelDict
def showGUI(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]