comparison frontends/primitivus/chat.py @ 181:a566f654929e

README update: - Sortilège shorcuts have been replaced by Primitivus shortcuts - Credits updated
author Goffi <goffi@goffi.org>
date Mon, 16 Aug 2010 21:59:52 +0800
parents fdb961f27ae9
children 31632472e857
comparison
equal deleted inserted replaced
180:fdb961f27ae9 181:a566f654929e
110 wid._invalidate() 110 wid._invalidate()
111 elif key == "meta l": #user wants to (un)hide widget decoration 111 elif key == "meta l": #user wants to (un)hide widget decoration
112 show = not isinstance(self._w, custom_widgets.LabelLine) 112 show = not isinstance(self._w, custom_widgets.LabelLine)
113 self.showDecoration(show) 113 self.showDecoration(show)
114 self._invalidate() 114 self._invalidate()
115 elif key == "meta s": #user wants to (un)hide group's subject 115 elif key == "meta s": #user wants to (un)hide group's subject or change its apperance
116 if self.subject: 116 if self.subject:
117 self.show_title = (self.show_title + 1) % 3 117 self.show_title = (self.show_title + 1) % 3
118 if self.show_title == 0: 118 if self.show_title == 0:
119 self.setSubject(self.subject,'clip') 119 self.setSubject(self.subject,'clip')
120 elif self.show_title == 1: 120 elif self.show_title == 1: