Mercurial > pidgin.yaz
comparison src/gtkaccount.c @ 8903:4ffbbe330ee5
[gaim-migrate @ 9672]
This was ugly and didn't work extremely well. If anyone wants
to do a better job feel free.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 08 May 2004 07:20:31 +0000 |
parents | c430e99bb147 |
children | 96c481da57ea |
comparison
equal
deleted
inserted
replaced
8902:cb3dd3a4c71c | 8903:4ffbbe330ee5 |
---|---|
371 add_login_options(AccountPrefsDialog *dialog, GtkWidget *parent) | 371 add_login_options(AccountPrefsDialog *dialog, GtkWidget *parent) |
372 { | 372 { |
373 GtkWidget *frame; | 373 GtkWidget *frame; |
374 GtkWidget *vbox; | 374 GtkWidget *vbox; |
375 GtkWidget *entry; | 375 GtkWidget *entry; |
376 GtkWidget *label; | |
377 GdkColor color; | |
378 GList *user_splits; | 376 GList *user_splits; |
379 GList *l, *l2; | 377 GList *l, *l2; |
380 char *username = NULL; | 378 char *username = NULL; |
381 | 379 |
382 if (dialog->login_frame != NULL) | 380 if (dialog->login_frame != NULL) |
491 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->remember_pass_check), | 489 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->remember_pass_check), |
492 FALSE); | 490 FALSE); |
493 gtk_box_pack_start(GTK_BOX(vbox), dialog->remember_pass_check, | 491 gtk_box_pack_start(GTK_BOX(vbox), dialog->remember_pass_check, |
494 FALSE, FALSE, 0); | 492 FALSE, FALSE, 0); |
495 gtk_widget_show(dialog->remember_pass_check); | 493 gtk_widget_show(dialog->remember_pass_check); |
496 | |
497 /* The plain text password warning */ | |
498 /* XXX - This color should be from the GTK theme and not hardcoded */ | |
499 label = gtk_label_new_with_mnemonic(_("Warning: Passwords are stored in plain text!")); | |
500 gdk_color_parse("red", &color); | |
501 gtk_widget_modify_fg(label, GTK_STATE_NORMAL, &color); | |
502 gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); | |
503 g_signal_connect(G_OBJECT(dialog->remember_pass_check), "clicked", | |
504 G_CALLBACK(gaim_gtk_toggle_showhide), label); | |
505 | 494 |
506 /* Auto-Login */ | 495 /* Auto-Login */ |
507 dialog->auto_login_check = | 496 dialog->auto_login_check = |
508 gtk_check_button_new_with_label(_("Auto-login")); | 497 gtk_check_button_new_with_label(_("Auto-login")); |
509 gtk_box_pack_start(GTK_BOX(vbox), dialog->auto_login_check, | 498 gtk_box_pack_start(GTK_BOX(vbox), dialog->auto_login_check, |