Mercurial > pidgin
changeset 837:113205ae7e72
[gaim-migrate @ 847]
show alias and screenname in tooltips, and finish building windows before shoing them
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 04 Sep 2000 00:12:42 +0000 |
parents | 15d005f8baaf |
children | 7714587cd1f9 |
files | src/buddy.c src/dialogs.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Sun Sep 03 23:57:07 2000 +0000 +++ b/src/buddy.c Mon Sep 04 00:12:42 2000 +0000 @@ -1372,7 +1372,7 @@ } else caps[0] = '\0'; - i = g_snprintf(infotip, sizeof(infotip), _("Name: %s \nLogged in: %s\n%s%s%s%s%s"), b->show, sotime, warn, ((b->idle) ? _("Idle: ") : ""), itime, ((b->idle) ? "\n" : ""), caps); + i = g_snprintf(infotip, sizeof(infotip), _("Alias: %s \nScreen Name: %s\nLogged in: %s\n%s%s%s%s%s"), b->show, b->name, sotime, warn, ((b->idle) ? _("Idle: ") : ""), itime, ((b->idle) ? "\n" : ""), caps); gtk_tooltips_set_tip(tips, GTK_WIDGET(b->item), infotip, "");
--- a/src/dialogs.c Sun Sep 03 23:57:07 2000 +0000 +++ b/src/dialogs.c Mon Sep 04 00:12:42 2000 +0000 @@ -853,7 +853,7 @@ a->window = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_policy(GTK_WINDOW(a->window), FALSE, FALSE, TRUE); - gtk_widget_show(a->window); + gtk_widget_realize(a->window); dialogwindows = g_list_prepend(dialogwindows, a->window); bbox = gtk_hbox_new(TRUE, 10); @@ -927,7 +927,7 @@ a->window = gtk_window_new(GTK_WINDOW_DIALOG); gtk_widget_set_usize(a->window, 480, 105); gtk_window_set_policy(GTK_WINDOW(a->window), FALSE, FALSE, TRUE); - gtk_widget_show(a->window); + gtk_widget_realize(a->window); dialogwindows = g_list_prepend(dialogwindows, a->window); bbox = gtk_hbox_new(TRUE, 10); @@ -3152,7 +3152,7 @@ aliasdlg = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_policy(GTK_WINDOW(aliasdlg), FALSE, FALSE, TRUE); - gtk_widget_show(aliasdlg); + gtk_widget_realize(aliasdlg); dialogwindows = g_list_prepend(dialogwindows, aliasdlg); bbox = gtk_hbox_new(TRUE, 10);