Mercurial > pidgin
changeset 1648:09445224e2d9
[gaim-migrate @ 1658]
this is better. thanks aechols.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 26 Mar 2001 10:29:06 +0000 |
parents | 23b734cf1161 |
children | 3fe5799b7823 |
files | src/dialogs.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dialogs.c Mon Mar 26 10:26:53 2001 +0000 +++ b/src/dialogs.c Mon Mar 26 10:29:06 2001 +0000 @@ -1007,7 +1007,7 @@ { struct buddy_pounce *bp = g_new0(struct buddy_pounce, 1); - if(strlen(gtk_entry_get_text(GTK_ENTRY(b->nameentry))) == 0) { + if (strlen(gtk_entry_get_text(GTK_ENTRY(b->nameentry))) == 0) { do_error_dialog(_("Please enter a buddy to pounce."), _("Buddy Pounce Error")); g_free(bp); return; @@ -3744,7 +3744,10 @@ window = gtk_window_new(GTK_WINDOW_TOPLEVEL); dialogwindows = g_list_prepend(dialogwindows, window); gtk_window_set_wmclass(GTK_WINDOW(window), "log", "Gaim"); - g_snprintf(buf, BUF_LONG, "Gaim - Conversations with %s", name); + if (name) + g_snprintf(buf, BUF_LONG, "Gaim - Conversations with %s", name); + else + g_snprintf(buf, BUF_LONG, "Gaim - System Log" ); gtk_window_set_title(GTK_WINDOW(window), buf); gtk_container_set_border_width(GTK_CONTAINER(window), 10); gtk_window_set_policy(GTK_WINDOW(window), TRUE, TRUE, TRUE);