summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordobey <dobey>2006-10-25 18:32:55 +0000
committerdobey <dobey>2006-10-25 18:32:55 +0000
commit48e12e3649f7a04d3d9ac2b1dfbdf8a74a758bcf (patch)
treed5b6e0d78f444064d66414c486b828ebc969359e
parentee7953c4fdddad0c32fa8fdd0e32db9901e807c7 (diff)
2006-10-24 Rodney Dawes <dobey@novell.com>
* scripts/Makefile.am: * scripts/gnome-volume-properties.py: Add a script to scan the Removable Drives and Media Properties capplet
-rw-r--r--ChangeLog6
-rw-r--r--scripts/Makefile.am1
-rwxr-xr-xscripts/gnome-volume-properties.py19
3 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0364c9d..7a4d1a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-10-24 Rodney Dawes <dobey@novell.com>
+ * scripts/Makefile.am:
+ * scripts/gnome-volume-properties.py: Add a script to scan the
+ Removable Drives and Media Properties capplet
+
+2006-10-24 Rodney Dawes <dobey@novell.com>
+
* python/A11yTestUtils.py (a11y_test_init): Add a third argument to
specify whether or not to run the app, so that we can test apps which
need to already be running, such as the panel or nautilus
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 7cd27bf..8fc1406 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -24,6 +24,7 @@ scriptfiles = \
gnome-system-monitor.py \
gnome-theme-manager.py \
gnome-ui-properties.py \
+ gnome-volume-properties.py \
gnome-window-properties.py \
realplay.py \
yelp.py \
diff --git a/scripts/gnome-volume-properties.py b/scripts/gnome-volume-properties.py
new file mode 100755
index 0000000..165c231
--- /dev/null
+++ b/scripts/gnome-volume-properties.py
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+
+import string, sys, os
+from ldtp import *
+from ldtputils import *
+from A11yTestUtils import *
+
+program_name = 'gnome-volume-properties'
+window_title = 'Drives and Media Preferences'
+
+a11y_test_init (program_name)
+
+waittillguiexist (window_title)
+
+a11y_scan_window (window_title)
+
+click (window_title, 'btnClose')
+
+a11y_test_shutdown ()