comparison libpurple/protocols/msnp9/msn.c @ 22778:1cd829a1d27e

disapproval of revision '38c3a1050aefc66e1c541e3d91ae6f7fe6930559'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 30 Apr 2008 11:27:47 +0000
parents 087c3ed328d3
children 3fee7e01e51c
comparison
equal deleted inserted replaced
22777:087c3ed328d3 22778:1cd829a1d27e
131 } 131 }
132 132
133 return list; 133 return list;
134 } 134 }
135 135
136 static GHashTable * 136
137 msn_get_account_text_table() 137 const char *msn_get_login_label() {
138 { 138 return _("E-mail Address...");
139 GHashTable *table;
140
141 table = g_hash_table_new(g_str_hash, g_str_equal);
142
143 g_hash_table_insert(table, "login_label", (gpointer)_("E-mail Address..."));
144
145 return table;
146 } 139 }
147 140
148 static PurpleCmdRet 141 static PurpleCmdRet
149 msn_cmd_nudge(PurpleConversation *conv, const gchar *cmd, gchar **args, gchar **error, void *data) 142 msn_cmd_nudge(PurpleConversation *conv, const gchar *cmd, gchar **args, gchar **error, void *data)
150 { 143 {
2156 NULL, /* send_raw */ 2149 NULL, /* send_raw */
2157 NULL, /* roomlist_room_serialize */ 2150 NULL, /* roomlist_room_serialize */
2158 NULL, /* unregister_user */ 2151 NULL, /* unregister_user */
2159 msn_send_attention, /* send_attention */ 2152 msn_send_attention, /* send_attention */
2160 msn_attention_types, /* attention_types */ 2153 msn_attention_types, /* attention_types */
2161 msn_get_account_text_table /* get_account_text_table */ 2154 msn_get_login_label /* account_login_label */
2162 }; 2155 };
2163 2156
2164 static PurplePluginInfo info = 2157 static PurplePluginInfo info =
2165 { 2158 {
2166 PURPLE_PLUGIN_MAGIC, 2159 PURPLE_PLUGIN_MAGIC,