comparison src/gtkft.c @ 11896:8aa6462e563c

[gaim-migrate @ 14187] Change "Keep the dialog open" to "Close this window when all transfers finish". I think that's a lot clearer. I didn't change the underlying preference, just inverted the value when setting up the checkbox. That seemed like a lot of work for very little gain. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 29 Oct 2005 21:11:07 +0000
parents 8d7c99f20e4c
children ad62cd866435
comparison
equal deleted inserted replaced
11895:589f290eb8cd 11896:8aa6462e563c
708 /* Setup the listbox */ 708 /* Setup the listbox */
709 sw = setup_tree(dialog); 709 sw = setup_tree(dialog);
710 gtk_box_pack_start(GTK_BOX(vbox2), sw, TRUE, TRUE, 0); 710 gtk_box_pack_start(GTK_BOX(vbox2), sw, TRUE, TRUE, 0);
711 gtk_widget_set_size_request(sw,-1, 140); 711 gtk_widget_set_size_request(sw,-1, 140);
712 712
713 /* "Keep the dialog open" */ 713 /* "Close this window when all transfers finish" */
714 checkbox = gtk_check_button_new_with_mnemonic( 714 checkbox = gtk_check_button_new_with_mnemonic(
715 _("_Keep the dialog open")); 715 _("_Close this window when all transfers finish"));
716 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbox), 716 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbox),
717 dialog->keep_open); 717 !dialog->keep_open);
718 g_signal_connect(G_OBJECT(checkbox), "toggled", 718 g_signal_connect(G_OBJECT(checkbox), "toggled",
719 G_CALLBACK(toggle_keep_open_cb), dialog); 719 G_CALLBACK(toggle_keep_open_cb), dialog);
720 gtk_box_pack_start(GTK_BOX(vbox2), checkbox, FALSE, FALSE, 0); 720 gtk_box_pack_start(GTK_BOX(vbox2), checkbox, FALSE, FALSE, 0);
721 gtk_widget_show(checkbox); 721 gtk_widget_show(checkbox);
722 722