From 27dfe571c42d1a3d871ddaaf9dc2584afe085a22 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 20 Nov 2008 12:57:29 +0000 Subject: [PATCH] [Florob] use new stop command in pep instead of retract when we temporary stop sending pep item. Fixes #4502 --- src/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 485ba838b..f3e78de5b 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -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()