comparison libpurple/protocols/qq/group_join.c @ 21235:fba1f6c3df0b

Converted string literal UI hints to #define-ed constants and fixed two cast-warnings in gtkblist.c
author Gabriel Schulhof <nix@go-nix.ca>
date Sun, 14 Oct 2007 18:07:19 +0000
parents cab348e39751
children 73c5f5bfeb39 a20ef7180680
comparison
equal deleted inserted replaced
21234:aabe638f56d9 21235:fba1f6c3df0b
137 _("Would you be my friend?"), TRUE, FALSE, NULL, 137 _("Would you be my friend?"), TRUE, FALSE, NULL,
138 _("Send"), 138 _("Send"),
139 G_CALLBACK(_qq_group_join_auth_with_gc_and_id), 139 G_CALLBACK(_qq_group_join_auth_with_gc_and_id),
140 _("Cancel"), G_CALLBACK(qq_do_nothing_with_gc_and_uid), 140 _("Cancel"), G_CALLBACK(qq_do_nothing_with_gc_and_uid),
141 purple_connection_get_account(gc), group->group_name_utf8, NULL, 141 purple_connection_get_account(gc), group->group_name_utf8, NULL,
142 "chat", g); 142 PURPLE_REQUEST_HINT_CONV, g);
143 g_free(msg); 143 g_free(msg);
144 } 144 }
145 145
146 void qq_send_cmd_group_auth(PurpleConnection *gc, qq_group *group, guint8 opt, guint32 uid, const gchar *reason_utf8) 146 void qq_send_cmd_group_auth(PurpleConnection *gc, qq_group *group, guint8 opt, guint32 uid, const gchar *reason_utf8)
147 { 147 {
360 _("Are you sure you want to leave this Qun?"), 360 _("Are you sure you want to leave this Qun?"),
361 _ 361 _
362 ("Note, if you are the creator, \nthis operation will eventually remove this Qun."), 362 ("Note, if you are the creator, \nthis operation will eventually remove this Qun."),
363 1, 363 1,
364 purple_connection_get_account(gc), NULL, NULL, 364 purple_connection_get_account(gc), NULL, NULL,
365 "chat", g, 2, _("Cancel"), 365 PURPLE_REQUEST_HINT_CONV, g, 2, _("Cancel"),
366 G_CALLBACK(qq_do_nothing_with_gc_and_uid), 366 G_CALLBACK(qq_do_nothing_with_gc_and_uid),
367 _("Continue"), G_CALLBACK(_qq_group_exit_with_gc_and_id)); 367 _("Continue"), G_CALLBACK(_qq_group_exit_with_gc_and_id));
368 } 368 }