summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordobey <dobey>2006-11-22 20:55:20 +0000
committerdobey <dobey>2006-11-22 20:55:20 +0000
commit7442893d7a0c3f6af563a7d0f2d83e41f813b3e5 (patch)
tree739f97dbf8e18987a14d31529393d6df6599a583
parent14b3074bcb903dc5d0a43420507f638dddb40888 (diff)
2006-11-22 Rodney Dawes <dobey@novell.com>
* scripts/gedit.py: Update to work with gedit 2.16.x
-rw-r--r--ChangeLog4
-rwxr-xr-xscripts/gedit.py9
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index fe571e6..492a5ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2006-11-22 Rodney Dawes <dobey@novell.com>
+ * scripts/gedit.py: Update to work with gedit 2.16.x
+
+2006-11-22 Rodney Dawes <dobey@novell.com>
+
* scripts/banshee.py: Update to work with banshee 0.11.2 as well
2006-11-09 Rodney Dawes <dobey@novell.com>
diff --git a/scripts/gedit.py b/scripts/gedit.py
index 992d20a..5bc6b0e 100755
--- a/scripts/gedit.py
+++ b/scripts/gedit.py
@@ -28,14 +28,17 @@ a11y_scan_dialog ('*Preferences*', 'btnClose')
selectmenuitem (window_title, 'mnuSearch;mnuFind')
a11y_scan_dialog ('*Find*', 'btnClose')
+time.sleep (1)
selectmenuitem (window_title, 'mnuSearch;mnuReplace')
-a11y_scan_dialog ('*Replace', 'btnClose')
+a11y_scan_dialog ('dlgReplace', 'btnClose')
selectmenuitem (window_title, 'mnuSearch;mnuGo*')
-a11y_scan_dialog ('*Go*', 'btnClose')
+if (objectexist ('*Go*', 'btnClose')):
+ a11y_scan_dialog ('*Go*', 'btnClose')
selectmenuitem (window_title, 'mnuTools;mnuCheck*')
-a11y_scan_dialog ('*Information*', 'btnOK')
+if (objectexist ('*Information*', 'btnOK')):
+ a11y_scan_dialog ('*Information*', 'btnOK')
selectmenuitem (window_title, 'mnuTools;mnuSet*')
a11y_scan_dialog ('*anguage', 'btnCancel')