| 724 f = purple_request_field_string_new("timezone", _("Timezone"), tzname[0], FALSE); |
724 f = purple_request_field_string_new("timezone", _("Timezone"), tzname[0], FALSE); |
| 725 #endif |
725 #endif |
| 726 purple_request_field_group_add_field(g, f); |
726 purple_request_field_group_add_field(g, f); |
| 727 purple_request_fields_add_group(fields, g); |
727 purple_request_fields_add_group(fields, g); |
| 728 |
728 |
| 729 purple_request_fields_with_hint(gc, _("User Online Status Attributes"), |
729 purple_request_fields(gc, _("User Online Status Attributes"), |
| 730 _("User Online Status Attributes"), |
730 _("User Online Status Attributes"), |
| 731 _("You can let other users see your online status information " |
731 _("You can let other users see your online status information " |
| 732 "and your personal information. Please fill the information " |
732 "and your personal information. Please fill the information " |
| 733 "you would like other users to see about yourself."), |
733 "you would like other users to see about yourself."), |
| 734 fields, |
734 fields, |
| 735 _("OK"), G_CALLBACK(silcpurple_attrs_cb), |
735 _("OK"), G_CALLBACK(silcpurple_attrs_cb), |
| 736 _("Cancel"), G_CALLBACK(silcpurple_attrs_cancel), |
736 _("Cancel"), G_CALLBACK(silcpurple_attrs_cancel), |
| 737 gc->account, NULL, NULL, "blist", gc); |
737 gc->account, NULL, NULL, gc); |
| 738 } |
738 } |
| 739 |
739 |
| 740 static void |
740 static void |
| 741 silcpurple_detach(PurplePluginAction *action) |
741 silcpurple_detach(PurplePluginAction *action) |
| 742 { |
742 { |
| 938 |
938 |
| 939 purple_request_fields(gc, _("Create New SILC Key Pair"), |
939 purple_request_fields(gc, _("Create New SILC Key Pair"), |
| 940 _("Create New SILC Key Pair"), NULL, fields, |
940 _("Create New SILC Key Pair"), NULL, fields, |
| 941 _("Generate Key Pair"), G_CALLBACK(silcpurple_create_keypair_cb), |
941 _("Generate Key Pair"), G_CALLBACK(silcpurple_create_keypair_cb), |
| 942 _("Cancel"), G_CALLBACK(silcpurple_create_keypair_cancel), |
942 _("Cancel"), G_CALLBACK(silcpurple_create_keypair_cancel), |
| 943 gc->account, NULL, NULL, "blist", gc); |
943 gc->account, NULL, NULL, gc); |
| 944 |
944 |
| 945 g_strfreev(u); |
945 g_strfreev(u); |
| 946 silc_free(hostname); |
946 silc_free(hostname); |
| 947 } |
947 } |
| 948 |
948 |