summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatrickgu <patrickgu>2006-03-06 06:09:56 +0000
committerpatrickgu <patrickgu>2006-03-06 06:09:56 +0000
commit55305c790f4b8dfa7c870ea82dbf78e70ef4de40 (patch)
tree92ae129cf6e0196851e0f7e003ae9fa186dfa5ec
parentf22cae53b377c31a105c484aa473cec3499a310e (diff)
frmComposeamessage -> frmComposeMessage
dlgNewCalendar, dlgNewMemoList have their own name
-rw-r--r--evolution/chk_file_new.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/evolution/chk_file_new.py b/evolution/chk_file_new.py
index 346e93f..793ba70 100644
--- a/evolution/chk_file_new.py
+++ b/evolution/chk_file_new.py
@@ -38,7 +38,7 @@ def chk_new_items():
for i in range(0, noofitems-1):
mnuitem,windowname = assign_var(i)
- if selectmenuitem('frmEvolution-Mail','mnuFile;mnuNew;mnu'+mnuitem) == 1:
+ if selectmenuitem('frmEvolution-*','mnuFile;mnuNew;mnu'+mnuitem) == 1:
time.sleep(3)
close_win(i,windowname)
except:
@@ -53,7 +53,7 @@ def assign_var(i):
if new_items[i] == 'Mail Message':
mnuitem = 'MailMessage'
- windowname = 'frmComposeamessage'
+ windowname = 'frmComposeMessage'
elif new_items[i] == 'Mail Folder':
mnuitem = 'MailFolder'
windowname = 'dlgCreatefolder'
@@ -86,11 +86,11 @@ def assign_var(i):
windowname = 'dlgNewAddressBook'
elif new_items[i] == 'Calendar':
mnuitem = 'Calendar'
- windowname = 'dlgTaskListProperties'
- setcontext('Task List Properties','New Calendar')
+ windowname = 'dlgNewCalendar'
+ #setcontext('Task List Properties','New Calendar')
elif new_items[i] == 'Memo List':
mnuitem = 'Memolist'
- windowname = 'dlgTaskListProperties'
+ windowname = 'dlgNewMemoList'
elif new_items[i] == 'Task List':
mnuitem = 'Tasklist'
windowname = 'dlgTaskListProperties'