comparison src/dialogs.c @ 5249:98fc2d44c2ba

[gaim-migrate @ 5621] This bug report made me laugh a little. It's kind of silly. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 28 Apr 2003 06:23:42 +0000
parents a3bb756635be
children 4ac135a2f422
comparison
equal deleted inserted replaced
5248:d635e8fe2fba 5249:98fc2d44c2ba
3285 { 3285 {
3286 char *msg; 3286 char *msg;
3287 if ((strlen(gtk_entry_get_text(GTK_ENTRY(ca->entry))) == 0) && (type == 1)) { 3287 if ((strlen(gtk_entry_get_text(GTK_ENTRY(ca->entry))) == 0) && (type == 1)) {
3288 /* We shouldn't allow a blank title */ 3288 /* We shouldn't allow a blank title */
3289 do_error_dialog(_("You cannot save an away message with a blank title"), 3289 do_error_dialog(_("You cannot save an away message with a blank title"),
3290 _("Please give the message a title, or choose \"Make Away\" to use " 3290 _("Please give the message a title, or choose \"Use\" to use "
3291 "without saving."), GAIM_ERROR); 3291 "without saving."), GAIM_ERROR);
3292 return 0; 3292 return 0;
3293 } 3293 }
3294 3294
3295 msg = gtk_text_view_get_text(GTK_TEXT_VIEW(ca->text), FALSE); 3295 msg = gtk_text_view_get_text(GTK_TEXT_VIEW(ca->text), FALSE);