comparison libpurple/protocols/silc/silc.c @ 21360:e747ac0c42d6

propagate from branch 'im.pidgin.pidgin.next.minor' (head bd8f1d754a1b94e5ade30c3b135178b236f7b49a) to branch 'im.pidgin.cpw.resiak.disconnectreason' (head 5d84bcfaddc07cab4419ab9f04b31626421b97ff)
author Will Thompson <will.thompson@collabora.co.uk>
date Mon, 15 Oct 2007 10:45:46 +0000
parents ba41f2a60253 a20ef7180680
children 38cc722159ff
comparison
equal deleted inserted replaced
21359:fe57b8062249 21360:e747ac0c42d6
821 silc_timezone(tz, sizeof(tz)); 821 silc_timezone(tz, sizeof(tz));
822 f = purple_request_field_string_new("timezone", _("Timezone (UTC)"), tz, FALSE); 822 f = purple_request_field_string_new("timezone", _("Timezone (UTC)"), tz, FALSE);
823 purple_request_field_group_add_field(g, f); 823 purple_request_field_group_add_field(g, f);
824 purple_request_fields_add_group(fields, g); 824 purple_request_fields_add_group(fields, g);
825 825
826 purple_request_fields(gc, _("User Online Status Attributes"), 826 purple_request_fields_with_hint(gc, _("User Online Status Attributes"),
827 _("User Online Status Attributes"), 827 _("User Online Status Attributes"),
828 _("You can let other users see your online status information " 828 _("You can let other users see your online status information "
829 "and your personal information. Please fill the information " 829 "and your personal information. Please fill the information "
830 "you would like other users to see about yourself."), 830 "you would like other users to see about yourself."),
831 fields, 831 fields,
832 _("OK"), G_CALLBACK(silcpurple_attrs_cb), 832 _("OK"), G_CALLBACK(silcpurple_attrs_cb),
833 _("Cancel"), G_CALLBACK(silcpurple_attrs_cancel), 833 _("Cancel"), G_CALLBACK(silcpurple_attrs_cancel),
834 gc->account, NULL, NULL, gc); 834 gc->account, NULL, NULL, PURPLE_REQUEST_UI_HINT_BLIST, gc);
835 } 835 }
836 836
837 static void 837 static void
838 silcpurple_detach(PurplePluginAction *action) 838 silcpurple_detach(PurplePluginAction *action)
839 { 839 {
1033 f = purple_request_field_string_new("pass2", _("Passphrase (retype)"), "", FALSE); 1033 f = purple_request_field_string_new("pass2", _("Passphrase (retype)"), "", FALSE);
1034 purple_request_field_string_set_masked(f, TRUE); 1034 purple_request_field_string_set_masked(f, TRUE);
1035 purple_request_field_group_add_field(g, f); 1035 purple_request_field_group_add_field(g, f);
1036 purple_request_fields_add_group(fields, g); 1036 purple_request_fields_add_group(fields, g);
1037 1037
1038 purple_request_fields(gc, _("Create New SILC Key Pair"), 1038 purple_request_fields_with_hint(gc, _("Create New SILC Key Pair"),
1039 _("Create New SILC Key Pair"), NULL, fields, 1039 _("Create New SILC Key Pair"), NULL, fields,
1040 _("Generate Key Pair"), G_CALLBACK(silcpurple_create_keypair_cb), 1040 _("Generate Key Pair"), G_CALLBACK(silcpurple_create_keypair_cb),
1041 _("Cancel"), G_CALLBACK(silcpurple_create_keypair_cancel), 1041 _("Cancel"), G_CALLBACK(silcpurple_create_keypair_cancel),
1042 gc->account, NULL, NULL, gc); 1042 gc->account, NULL, NULL, PURPLE_REQUEST_UI_HINT_BLIST, gc);
1043 1043
1044 g_strfreev(u); 1044 g_strfreev(u);
1045 silc_free(hostname); 1045 silc_free(hostname);
1046 } 1046 }
1047 1047