/[cvs]/nfo/projects/mess/src/client/windows/context_menu.py
ViewVC logotype

Diff of /nfo/projects/mess/src/client/windows/context_menu.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by joko, Sat Jun 3 22:26:56 2006 UTC revision 1.7 by joko, Sat Jun 3 22:27:45 2006 UTC
# Line 156  def DllRegisterServer(): Line 156  def DllRegisterServer():
156            
157      # extended (via http://mail.python.org/pipermail/python-list/2003-December/198390.html)      # extended (via http://mail.python.org/pipermail/python-list/2003-December/198390.html)
158    
159      # for folders      # for directory background
160      background_key = _winreg.CreateKey(_winreg.HKEY_CLASSES_ROOT, "Directory\\Background\\shellex")      background_key = _winreg.CreateKey(_winreg.HKEY_CLASSES_ROOT, "Directory\\Background\\shellex")
161      background_subkey = _winreg.CreateKey(background_key, "ContextMenuHandlers")      background_subkey = _winreg.CreateKey(background_key, "ContextMenuHandlers")
162      background_subkey2 = _winreg.CreateKey(background_subkey, ShellExtension._reg_name_)      background_subkey2 = _winreg.CreateKey(background_subkey, ShellExtension._reg_name_)
# Line 183  def DllUnregisterServer(): Line 183  def DllUnregisterServer():
183      # extended (via http://mail.python.org/pipermail/python-list/2003-December/198390.html)      # extended (via http://mail.python.org/pipermail/python-list/2003-December/198390.html)
184    
185      try:      try:
186            # for directory background
187            background_key = _winreg.DeleteKey(_winreg.HKEY_CLASSES_ROOT,
188                                    "Directory\\Background\\shellex\\ContextMenuHandlers\\" + ShellExtension._reg_name_)
189          # for folders          # for folders
190          folder_key = _winreg.DeleteKey(_winreg.HKEY_CLASSES_ROOT,          folder_key = _winreg.DeleteKey(_winreg.HKEY_CLASSES_ROOT,
191                                  "Folder\\shellex\\ContextMenuHandlers\\" + ShellExtension._reg_name_)                                  "Folder\\shellex\\ContextMenuHandlers\\" + ShellExtension._reg_name_)

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed