  
      def add_browser_buttons(self, frame, sysbrowser, filepath):
          """ Add correct file browser button for control """
          img = Images().icons[sysbrowser]
          action = getattr(self, "ask_" + sysbrowser)
          filetypes = self.option.get("filetypes", "default")
          fileopn = ttk.Button(frame, image=img,
                               command=lambda cmd=action: cmd(filepath,
 
</s> remove             self.handletype = self.contexts[command][action]
 </s> add             handletype = self.contexts[command][action]
        logger.debug(handletype)
        self.handletype = handletype </s> remove             self.handletype = self.contexts[command][variable][action]
 </s> add             handletype = self.contexts[command][variable][action]
        logger.debug("Adding browser buttons: (sysbrowser: '%s', filepath: '%s'",
                     sysbrowser, filepath)
  
      def add_browser_buttons(self, frame, sysbrowser, filepath):
          """ Add correct file browser button for control """
        logger.debug("Adding browser buttons: (sysbrowser: '%s', filepath: '%s'",
                     sysbrowser, filepath)
          img = Images().icons[sysbrowser]
          action = getattr(self, "ask_" + sysbrowser)
          filetypes = self.option.get("filetypes", "default")
          fileopn = ttk.Button(frame, image=img,
                               command=lambda cmd=action: cmd(filepath,
keep keep add keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging 
lib/gui/command.py