def popupTreePlantingGui(self):
     assert self.notify.debugStateCall(self)
     base.localAvatar.hideGardeningGui()
     self.acceptOnce(self.plantingGuiDoneEvent,
                     self.__handleTreePlantingDone)
     self.plantingGui = PlantTreeGUI.PlantTreeGUI(self.plantingGuiDoneEvent)
     self.accept('stoppedAsleep', self.__handleTreePlantingDone)
 def popupTreePlantingGui(self):
     base.localAvatar.hideGardeningGui()
     self.acceptOnce(self.plantingGuiDoneEvent,
                     self._DistributedGardenPlot__handleTreePlantingDone)
     self.plantingGui = PlantTreeGUI.PlantTreeGUI(self.plantingGuiDoneEvent)
     self.accept('stoppedAsleep',
                 self._DistributedGardenPlot__handleTreePlantingDone)