Mercurial > pidgin
changeset 1225:9c6dc2b2ad61
[gaim-migrate @ 1235]
:-P
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sat, 09 Dec 2000 06:11:52 +0000 |
parents | 0bbe3aaa6a3e |
children | ec046fc9fc7a |
files | src/dialogs.c |
diffstat | 1 files changed, 18 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dialogs.c Sat Dec 09 02:00:38 2000 +0000 +++ b/src/dialogs.c Sat Dec 09 06:11:52 2000 +0000 @@ -715,7 +715,25 @@ frame = gtk_frame_new(_("Get User Info")); gtk_box_pack_start(GTK_BOX(mainbox), frame, TRUE, TRUE, 0); + + fbox = gtk_hbox_new(FALSE, 5); + gtk_container_set_border_width(GTK_CONTAINER(fbox), 5); + gtk_container_add(GTK_CONTAINER(frame), fbox); + + label = gtk_label_new(_("User:")); + gtk_box_pack_start(GTK_BOX(fbox), label, FALSE, FALSE, 0); + gtk_widget_show(label); + + infoentry = gtk_entry_new(); + gtk_box_pack_start(GTK_BOX(fbox), infoentry, TRUE, TRUE, 0); + + /* Handle closes right */ + gtk_signal_connect(GTK_OBJECT(infoentry), "activate", + GTK_SIGNAL_FUNC(do_info), infoentry); + gtk_signal_connect(GTK_OBJECT(infodialog), "destroy", + GTK_SIGNAL_FUNC(destroy_dialog), infodialog); + /* Buttons */ bbox = gtk_hbox_new(FALSE, 5); gtk_box_pack_start(GTK_BOX(mainbox), bbox, FALSE, FALSE, 0); @@ -729,23 +747,6 @@ gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(do_info), infoentry); - fbox = gtk_hbox_new(FALSE, 5); - gtk_container_set_border_width(GTK_CONTAINER(fbox), 5); - gtk_container_add(GTK_CONTAINER(frame), fbox); - - label = gtk_label_new(_("User:")); - gtk_box_pack_start(GTK_BOX(fbox), label, FALSE, FALSE, 0); - gtk_widget_show(label); - - infoentry = gtk_entry_new(); - gtk_box_pack_start(GTK_BOX(fbox), infoentry, TRUE, TRUE, 10); - - /* Handle closes right */ - gtk_signal_connect(GTK_OBJECT(infoentry), "activate", - GTK_SIGNAL_FUNC(do_info), infoentry); - gtk_signal_connect(GTK_OBJECT(infodialog), "destroy", - GTK_SIGNAL_FUNC(destroy_dialog), infodialog); - /* Finish up */ gtk_window_set_title(GTK_WINDOW(infodialog), _("Gaim - Get User Info")); gtk_widget_grab_focus(infoentry);