comparison libpurple/protocols/jabber/usernick.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
74 } 74 }
75 75
76 purple_request_input_with_hint(js->gc, _("Set User Nickname"), _("Please specify a new nickname for you."), 76 purple_request_input_with_hint(js->gc, _("Set User Nickname"), _("Please specify a new nickname for you."),
77 _("This information is visible to all contacts on your contact list, so choose something appropriate."), 77 _("This information is visible to all contacts on your contact list, so choose something appropriate."),
78 oldnickname, FALSE, FALSE, NULL, _("Set"), PURPLE_CALLBACK(do_nick_set), _("Cancel"), NULL, 78 oldnickname, FALSE, FALSE, NULL, _("Set"), PURPLE_CALLBACK(do_nick_set), _("Cancel"), NULL,
79 purple_connection_get_account(js->gc), NULL, NULL, "blist", js); 79 purple_connection_get_account(js->gc), NULL, NULL, PURPLE_REQUEST_HINT_BLIST, js);
80 g_free(oldnickname); 80 g_free(oldnickname);
81 } 81 }
82 82
83 static void do_nick_set_nick(PurplePluginAction *action) { 83 static void do_nick_set_nick(PurplePluginAction *action) {
84 PurpleConnection *gc = (PurpleConnection *) action->context; 84 PurpleConnection *gc = (PurpleConnection *) action->context;