Mercurial > pidgin
comparison libpurple/protocols/qq/group_join.c @ 20598:285bb637a2b7
Updated hinting to be less invasive
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Sat, 22 Sep 2007 16:19:34 +0000 |
parents | 6a0d9fa477d4 |
children | 8c9aad9479c0 |
comparison
equal
deleted
inserted
replaced
20597:591267f6f1d5 | 20598:285bb637a2b7 |
---|---|
130 | 130 |
131 msg = g_strdup_printf("Group \"%s\" needs authentication\n", group->group_name_utf8); | 131 msg = g_strdup_printf("Group \"%s\" needs authentication\n", group->group_name_utf8); |
132 g = g_new0(gc_and_uid, 1); | 132 g = g_new0(gc_and_uid, 1); |
133 g->gc = gc; | 133 g->gc = gc; |
134 g->uid = group->internal_group_id; | 134 g->uid = group->internal_group_id; |
135 purple_request_input(gc, NULL, msg, | 135 purple_request_input_with_hint(gc, NULL, msg, |
136 _("Input request here"), | 136 _("Input request here"), |
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), |
354 | 354 |
355 g = g_new0(gc_and_uid, 1); | 355 g = g_new0(gc_and_uid, 1); |
356 g->gc = gc; | 356 g->gc = gc; |
357 g->uid = internal_group_id; | 357 g->uid = internal_group_id; |
358 | 358 |
359 purple_request_action(gc, _("QQ Qun Operation"), | 359 purple_request_action_with_hint(gc, _("QQ Qun Operation"), |
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, |