Mercurial > pidgin
comparison src/dialogs.c @ 2745:0c8de85fee62
[gaim-migrate @ 2758]
I like beer.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 18 Nov 2001 05:37:35 +0000 |
parents | 9f71beb77c60 |
children | a0da8be3db45 |
comparison
equal
deleted
inserted
replaced
2744:62df9fbd201a | 2745:0c8de85fee62 |
---|---|
99 struct confirm_del { | 99 struct confirm_del { |
100 GtkWidget *window; | 100 GtkWidget *window; |
101 GtkWidget *label; | 101 GtkWidget *label; |
102 GtkWidget *ok; | 102 GtkWidget *ok; |
103 GtkWidget *cancel; | 103 GtkWidget *cancel; |
104 GtkWidget *checkbox; | |
105 char name[1024]; | 104 char name[1024]; |
106 struct gaim_connection *gc; | 105 struct gaim_connection *gc; |
107 }; | 106 }; |
108 | 107 |
109 struct create_away { | 108 struct create_away { |
500 b->label = gtk_label_new(tmp); | 499 b->label = gtk_label_new(tmp); |
501 gtk_misc_set_alignment(GTK_MISC(b->label), 0, 0.5); | 500 gtk_misc_set_alignment(GTK_MISC(b->label), 0, 0.5); |
502 gtk_label_set_justify(GTK_LABEL(b->label), GTK_JUSTIFY_LEFT); | 501 gtk_label_set_justify(GTK_LABEL(b->label), GTK_JUSTIFY_LEFT); |
503 gtk_box_pack_start(GTK_BOX(fbox), b->label, FALSE, FALSE, 0); | 502 gtk_box_pack_start(GTK_BOX(fbox), b->label, FALSE, FALSE, 0); |
504 gtk_widget_show(b->label); | 503 gtk_widget_show(b->label); |
505 | |
506 b->checkbox = gtk_check_button_new_with_label(_("Do not ask me this question again")); | |
507 gtk_signal_connect(GTK_OBJECT(b->checkbox), "clicked", | |
508 GTK_SIGNAL_FUNC(toggle_confirm_del_cb), (int *)OPT_IM_DONT_CONFIRM_DEL); | |
509 gtk_box_pack_start(GTK_BOX(fbox), b->checkbox, FALSE, FALSE, 0); | |
510 gtk_widget_show(b->checkbox); | |
511 | 504 |
512 hbox = gtk_hbox_new(FALSE, 5); | 505 hbox = gtk_hbox_new(FALSE, 5); |
513 gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); | 506 gtk_container_set_border_width(GTK_CONTAINER(hbox), 5); |
514 gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, FALSE, 0); | 507 gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, FALSE, 0); |
515 gtk_widget_show(hbox); | 508 gtk_widget_show(hbox); |