Changeset 208

Show
Ignore:
Timestamp:
04/25/2008 11:32:03 AM (9 months ago)
Author:
funkiedamouse
Message:

Added code to allow the user to change the symbol used as the degree symbol, since the default doesn't work in ascii fonts.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property bzr:revision-id:v3-trunk0
      •  

        old new  
        44161 david.bronke@g33xnexus.com-20080423004618-cialja7vve0p32xb 
        55162 david.bronke@g33xnexus.com-20080423005711-zxrgzogrymlz3j98 
         6163 david.bronke@g33xnexus.com-20080423011833-yt8tqyg9yepxc4ln 
    • Property bzr:revision-info
      •  

        old new  
        1 timestamp: 2008-04-22 20:57:11.611000061 -0400 
         1timestamp: 2008-04-22 21:18:33.203000069 -0400 
        22committer: David Bronke <David.Bronke@g33xnexus.com> 
        33properties:  
  • trunk/plwm/mw_acpi.py

    r207 r208  
    492492    mw_acpi_position = 0.2 
    493493    mw_acpi_justification = modewindow.RIGHT 
     494    mw_acpi_degree_symbol = "°" 
    494495 
    495496    def __wm_init__(self): 
     
    525526            msg, beeps = newstatus 
    526527 
    527             self.mw_acpi_message.set_text(msg) 
     528            self.mw_acpi_message.set_text(msg.replace("°", self.mw_acpi_degree_symbol)) 
    528529 
    529530            # Beep if status have changed