comparison src/dialogs.c @ 4333:cc2f780c0505

[gaim-migrate @ 4597] I needed to make gc->login_time set before do_proto_menu was called, so I moved that line into account_online instead of serv_finish_login. serv_finish_login is called directly after account_online, and gc->login_time isn't used for anything anyway, so it shouldn't matter. I use gc->login_time to determine if a gc's protocol actions menu is ready to be drawn or not (should not be draw for accounts that are in the process of signing online). I made the "Show Buddies Awaiting Authorization" thing show something reasonable for when you aren't waiting for authorization from anyone. I swapped the ok and cancel buttons for the search for buddy by information and clear log file so they follow the HIG. I gave the right side of the log viewer a shadowed border. I Robot. I applied a patch from Ryan McCabe that doesn't really do anything for gaim (yet, anyway), but it allows clients using libfaim to call cleansnacs cleanly, which stops a potential build up of SNACs in memory when you don't send an IM for a long period of time. I applied another patch from Mr. McCabe that fixes a potential crash in ssi.c when your buddy list is a few lions short of a pride, if you know what I mean. I re-prettified an authorization dialog or two. The bold stuff and the non-bold stuff got backwardcised somehow. I added support for those messages from the ICQ server. Like the one that tells you not to give your password to anyone when you first signon. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 18 Jan 2003 01:58:00 +0000
parents c5851f0e120e
children 0c68d402f59f
comparison
equal deleted inserted replaced
4332:c8f374cadbd9 4333:cc2f780c0505
2769 b->maidenentry = gtk_entry_new(); 2769 b->maidenentry = gtk_entry_new();
2770 b->cityentry = gtk_entry_new(); 2770 b->cityentry = gtk_entry_new();
2771 b->stateentry = gtk_entry_new(); 2771 b->stateentry = gtk_entry_new();
2772 b->countryentry = gtk_entry_new(); 2772 b->countryentry = gtk_entry_new();
2773 2773
2774 gtk_box_pack_end(GTK_BOX(bbox), ok, FALSE, FALSE, 0);
2774 gtk_box_pack_end(GTK_BOX(bbox), cancel, FALSE, FALSE, 0); 2775 gtk_box_pack_end(GTK_BOX(bbox), cancel, FALSE, FALSE, 0);
2775 gtk_box_pack_end(GTK_BOX(bbox), ok, FALSE, FALSE, 0);
2776 2776
2777 /* Line 1 */ 2777 /* Line 1 */
2778 label = gtk_label_new(_("First Name")); 2778 label = gtk_label_new(_("First Name"));
2779 gtk_widget_show(label); 2779 gtk_widget_show(label);
2780 2780
3987 3987
3988 hbox = gtk_hbox_new(FALSE, 0); 3988 hbox = gtk_hbox_new(FALSE, 0);
3989 gtk_box_pack_start(GTK_BOX(box), hbox, FALSE, FALSE, 0); 3989 gtk_box_pack_start(GTK_BOX(box), hbox, FALSE, FALSE, 0);
3990 gtk_widget_show(hbox); 3990 gtk_widget_show(hbox);
3991 3991
3992 button = picture_button(window, _("Cancel"), cancel_xpm); 3992 button = picture_button(window, _("Okay"), ok_xpm);
3993 gtk_object_set_user_data(GTK_OBJECT(button), gtk_object_get_user_data(GTK_OBJECT(w)));
3994 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(do_clear_log_file), name);
3993 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(destroy_dialog), window); 3995 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(destroy_dialog), window);
3994 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5); 3996 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5);
3995 gtk_widget_show(button); 3997 gtk_widget_show(button);
3996 3998
3997 button = picture_button(window, _("Okay"), ok_xpm); 3999 button = picture_button(window, _("Cancel"), cancel_xpm);
3998 gtk_object_set_user_data(GTK_OBJECT(button), gtk_object_get_user_data(GTK_OBJECT(w)));
3999 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(do_clear_log_file), name);
4000 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(destroy_dialog), window); 4000 g_signal_connect(GTK_OBJECT(button), "clicked", G_CALLBACK(destroy_dialog), window);
4001 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5); 4001 gtk_box_pack_end(GTK_BOX(hbox), button, FALSE, FALSE, 5);
4002 gtk_widget_show(button); 4002 gtk_widget_show(button);
4003 4003
4004 gtk_widget_show_all(window); 4004 gtk_widget_show_all(window);
4242 gtk_widget_show(frame); 4242 gtk_widget_show(frame);
4243 4243
4244 sw = gtk_scrolled_window_new(NULL, NULL); 4244 sw = gtk_scrolled_window_new(NULL, NULL);
4245 gtk_container_set_border_width(GTK_CONTAINER(sw), 5); 4245 gtk_container_set_border_width(GTK_CONTAINER(sw), 5);
4246 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); 4246 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
4247 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_IN);
4247 gtk_widget_set_usize(sw, 390, 220); 4248 gtk_widget_set_usize(sw, 390, 220);
4248 gtk_container_add(GTK_CONTAINER(frame), sw); 4249 gtk_container_add(GTK_CONTAINER(frame), sw);
4249 gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0); 4250 gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0);
4250 4251
4251 g_signal_connect(GTK_OBJECT(layout), "url_clicked", G_CALLBACK(open_url), NULL); 4252 g_signal_connect(GTK_OBJECT(layout), "url_clicked", G_CALLBACK(open_url), NULL);