diff --git a/twander.py b/twander.py index a35b4ee..70ca8d2 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 3.178 2005/01/27 11:06:26 tundra Exp $" +RCSID = "$Id: twander.py,v 3.179 2005/01/27 11:15:01 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -724,9 +724,10 @@ pCHPATH = "Change Path" pENCMD = "Enter Command To Run:" pENPATH = "Enter New Path Desired:" -pENWILD = "Enter Selection Wildcard:" +pENWILD = "Enter Wildcard - Use %s For Strict Matching:" % STRICTMATCH pMANUALCMD = "Manual Command Entry" pRUNCMD = "Run Command" +pWILDFILT = "Filter Files By Wildcard" pWILDSEL = "Selection By Wildcard" # Warnings @@ -2869,11 +2870,16 @@ def KeySelWild(event, initial="", FilterWildcard=False): global UI + if FilterWildcard: + prompt = pWILDFILT + else: + prompt = pWILDSEL + # Ask the user for the wildcard pattern, using initial string, if any if initial: - uwc = askstring(pWILDSEL, pENWILD, initialvalue=initial) + uwc = askstring(prompt, pENWILD, initialvalue=initial) else: - uwc = askstring(pWILDSEL, pENWILD, initialvalue=UI.LastSelWildcard) + uwc = askstring(prompt, pENWILD, initialvalue=UI.LastSelWildcard) # Return focus to the main interface UI.DirList.focus()