code: def reload_accelerators(self, *args):
          
          if self.accel_group:
              self.guake.window.remove_accel_group(self.accel_group)
          self.accel_group = Gtk.AccelGroup()
          self.guake.window.add_accel_group(self.accel_group)
          self.load_accelerators()
docs: Reassign an accel_group to guake main window and guake
          context menu and calls the load_accelerators method.