[Florob] use new stop command in pep instead of retract when we temporary stop sending pep item. Fixes #4502

This commit is contained in:
Yann Leboulanger 2008-11-20 12:57:29 +00:00
parent a3f6b82ae5
commit 27dfe571c4
1 changed files with 2 additions and 2 deletions

View File

@ -442,7 +442,7 @@ class ChangeActivityDialog:
self.subactivity,
self.entry.get_text().decode('utf-8'))
else:
pep.user_retract_activity(self.account)
pep.user_send_activity(self.account, '')
self.window.destroy()
def on_cancel_button_clicked(self, widget):
@ -529,7 +529,7 @@ class ChangeMoodDialog:
'''Return mood and messsage (None if no mood selected)'''
message = self.entry.get_text().decode('utf-8')
if self.mood is None:
pep.user_retract_mood(self.account)
pep.user_send_mood(self.account, '')
else:
pep.user_send_mood(self.account, self.mood, message)
self.window.destroy()