Mercurial > pidgin
comparison src/gtkrequest.c @ 7678:cf6a7939af78
[gaim-migrate @ 8322]
Kevin "Sim" Guy made Alert Dialog titles consistant, and sensible on Windows.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 01 Dec 2003 02:36:51 +0000 |
parents | 357eb1c39b72 |
children | 9408c12b4a61 |
comparison
equal
deleted
inserted
replaced
7677:1f035c12f6f5 | 7678:cf6a7939af78 |
---|---|
230 | 230 |
231 data->cbs[0] = ok_cb; | 231 data->cbs[0] = ok_cb; |
232 data->cbs[1] = cancel_cb; | 232 data->cbs[1] = cancel_cb; |
233 | 233 |
234 /* Create the dialog. */ | 234 /* Create the dialog. */ |
235 dialog = gtk_dialog_new_with_buttons(title, NULL, 0, | 235 dialog = gtk_dialog_new_with_buttons(title ? title : GAIM_ALERT_TITLE, |
236 NULL, 0, | |
236 text_to_stock(cancel_text), 1, | 237 text_to_stock(cancel_text), 1, |
237 text_to_stock(ok_text), 0, | 238 text_to_stock(ok_text), 0, |
238 NULL); | 239 NULL); |
239 data->dialog = dialog; | 240 data->dialog = dialog; |
240 | 241 |