Update text to 'None' when disabling mood.

This commit is contained in:
js 2008-07-23 02:16:09 +00:00
parent 48c1be3152
commit 0f17f4dfec
1 changed files with 1 additions and 0 deletions

View File

@ -507,6 +507,7 @@ class ChangeMoodDialog:
self.label.set_text(_(data.replace('_', ' '))) self.label.set_text(_(data.replace('_', ' ')))
self.entry.set_sensitive(True) self.entry.set_sensitive(True)
else: else:
self.label.set_text(_('None'))
self.entry.set_text('') self.entry.set_text('')
self.entry.set_sensitive(False) self.entry.set_sensitive(False)
self.mood = data self.mood = data