don't require python2.5
This commit is contained in:
parent
4e89f57706
commit
e7b7e01b54
|
@ -500,7 +500,10 @@ class ChangeMoodDialog:
|
|||
self.mood_buttons[con.mood['mood']]. \
|
||||
set_active(True)
|
||||
|
||||
self.entry.set_sensitive(True if self.mood else False)
|
||||
if self.mood:
|
||||
self.entry.set_sensitive(True)
|
||||
else:
|
||||
self.entry.set_sensitive(False)
|
||||
|
||||
if 'text' in con.mood:
|
||||
self.entry.set_text(con.mood['text'])
|
||||
|
|
Loading…
Reference in New Issue