libpurple/account.c

branch
soc.2013.gobjectification
changeset 34955
854143116575
parent 34940
c0aef3b64c56
parent 34449
bbcb198650b7
child 34983
81638be26f41
child 36782
64936dae41a3
--- a/libpurple/account.c	Thu Sep 19 12:26:45 2013 +0530
+++ b/libpurple/account.c	Sat Sep 21 16:41:50 2013 +0530
@@ -230,7 +230,9 @@
 
 	if (!entry || !*entry)
 	{
-		purple_notify_error(account, NULL, _("Password is required to sign on."), NULL);
+		purple_notify_error(account, NULL,
+			_("Password is required to sign on."), NULL,
+			purple_request_cpar_from_account(account));
 		return;
 	}
 
@@ -323,7 +325,8 @@
 		gchar *message;
 
 		message = g_strdup_printf(_("Missing protocol plugin for %s"), username);
-		purple_notify_error(account, _("Connection Error"), message, NULL);
+		purple_notify_error(account, _("Connection Error"), message,
+			NULL, purple_request_cpar_from_account(account));
 		g_free(message);
 		return;
 	}
@@ -583,7 +586,8 @@
 	if (g_utf8_collate(new_pass_1, new_pass_2))
 	{
 		purple_notify_error(account, NULL,
-						  _("New passwords do not match."), NULL);
+			_("New passwords do not match."), NULL,
+			purple_request_cpar_from_account(account));
 
 		return;
 	}
@@ -596,7 +600,8 @@
 			(new_pass_2 == NULL || *new_pass_2 == '\0')))
 	{
 		purple_notify_error(account, NULL,
-						  _("Fill out all fields completely."), NULL);
+			_("Fill out all fields completely."), NULL,
+			purple_request_cpar_from_account(account));
 		return;
 	}
 

mercurial