comparison src/prefs.c @ 4451:ce5b64fac95d

[gaim-migrate @ 4726] Fixed bug introduced by new browser_page code. Please in future check to see if your changes affect _WIN32 code.. committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Tue, 28 Jan 2003 18:49:42 +0000
parents faa9b636707a
children 75ff69e592cc
comparison
equal deleted inserted replaced
4450:2f225b92a933 4451:ce5b64fac95d
887 label = gtk_button_new_with_label(_("Reset")); 887 label = gtk_button_new_with_label(_("Reset"));
888 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); 888 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
889 g_signal_connect(GTK_OBJECT(label), "clicked", 889 g_signal_connect(GTK_OBJECT(label), "clicked",
890 G_CALLBACK(manual_browser_reset), browser_entry); 890 G_CALLBACK(manual_browser_reset), browser_entry);
891 891
892 #endif /* end !_WIN32 */
893 if (browsers != NULL) { 892 if (browsers != NULL) {
894 vbox = make_frame (ret, _("Browser Options")); 893 vbox = make_frame (ret, _("Browser Options"));
895 894
896 label = gaim_button(_("Open new _window by default"), &misc_options, OPT_MISC_BROWSER_POPUP, vbox); 895 label = gaim_button(_("Open new _window by default"), &misc_options, OPT_MISC_BROWSER_POPUP, vbox);
897 } 896 }
898 #ifdef _WIN32 897 #else
899 /* Until I figure out how to implement this on windows */ 898 /* For windows, we need to implement the ability for URLs to be opened
900 gtk_widget_set_sensitive(label, FALSE); 899 * in new windows. Currently, existing open windows are being used.
901 #endif 900 */
901 #endif /*_WIN32*/
902
902 gtk_widget_show_all(ret); 903 gtk_widget_show_all(ret);
903 return ret; 904 return ret;
904 } 905 }
905 906
906 GtkWidget *logging_page() { 907 GtkWidget *logging_page() {