From 24e2fa936c87ac41d3feb62907d3022d6d7356f2 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sun, 12 Aug 2012 18:27:45 +0200 Subject: [PATCH] Remove the "loud" macro from the .pronsolerc example. As this is now part of the standard interface, it's pointless to list it as possible extension code. --- dot.pronsolerc.example | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/dot.pronsolerc.example b/dot.pronsolerc.example index 6a2a283bd..59cff0a1b 100644 --- a/dot.pronsolerc.example +++ b/dot.pronsolerc.example @@ -1,17 +1,6 @@ # Sample .pronsolerc file - copy this into your home directory and rename it to .pronsolerc !print "Loaded " + self.rc_filename -macro loud - !if self.p.loud: - !self.p.loud = 0 - !if hasattr(self,"cur_button") and self.cur_button is not None: - !self.onecmd('button %d "loud (off)" /c green loud' % self.cur_button) - !else: - !self.p.loud = 1 - !if hasattr(self,"cur_button") and self.cur_button is not None: - !self.onecmd('button %d "loud (on)" /c yellow loud' % self.cur_button) -button 0 "loud (off)" /c "green" loud - macro fan !global _fan !if '_fan' in globals() and _fan: @@ -24,4 +13,4 @@ macro fan M106 !if hasattr(self,"cur_button") and self.cur_button is not None: !self.onecmd('button %d "fan (on)" /c yellow fan' % self.cur_button) -button 1 "fan (off)" /c "green" fan +button 0 "fan (off)" /c "green" fan