Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/pidgin-opensteamworks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'steam-mobile/libsteam.c')
-rw-r--r--steam-mobile/libsteam.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/steam-mobile/libsteam.c b/steam-mobile/libsteam.c
index ab8ffc4..a8d89c8 100644
--- a/steam-mobile/libsteam.c
+++ b/steam-mobile/libsteam.c
@@ -259,10 +259,10 @@ steam_captcha_image_cb(PurpleUtilFetchUrlData *url_data, gpointer userdata, cons
group = purple_request_field_group_new(NULL);
purple_request_fields_add_group(fields, group);
- field = purple_request_field_image_new("captcha_image", "", response, len);
+ field = purple_request_field_image_new("captcha_image", _("Image"), response, len);
purple_request_field_group_add_field(group, field);
- field = purple_request_field_string_new("captcha_response", "", "", FALSE);
+ field = purple_request_field_string_new("captcha_response", _("Response"), "", FALSE);
purple_request_field_group_add_field(group, field);
purple_request_fields(sa->pc,
@@ -1049,6 +1049,9 @@ steam_set_steam_guard_token_cb(gpointer data, const gchar *steam_guard_token)
{
PurpleAccount *account = data;
+ if (steam_guard_token == NULL)
+ steam_guard_token = "";
+
purple_account_set_string(account, "steam_guard_code", steam_guard_token);
if (!purple_account_get_enabled(account, purple_core_get_ui())) {