Mercurial > pidgin.yaz
comparison src/gtkprefs.c @ 11424:e1ab173ef3b5
[gaim-migrate @ 13661]
prefs for STUN
adjustments for NTLM in SIP
committer: Tailor Script <tailor@pidgin.im>
author | Thomas Butter <tbutter> |
---|---|
date | Fri, 02 Sep 2005 09:09:04 +0000 |
parents | eb49e64d02fd |
children | 73f7cfa46f1b |
comparison
equal
deleted
inserted
replaced
11423:202a3b3c5a88 | 11424:e1ab173ef3b5 |
---|---|
1020 static GtkWidget * | 1020 static GtkWidget * |
1021 network_page() | 1021 network_page() |
1022 { | 1022 { |
1023 GtkWidget *ret; | 1023 GtkWidget *ret; |
1024 GtkWidget *vbox, *hbox, *entry; | 1024 GtkWidget *vbox, *hbox, *entry; |
1025 GtkWidget *table, *label, *auto_ip_checkbox, *ports_checkbox, *spin_button; | 1025 GtkWidget *table, *label, *auto_ip_checkbox, *ports_checkbox, *spin_button, *stun_server_entry; |
1026 GtkSizeGroup *sg; | 1026 GtkSizeGroup *sg; |
1027 GaimProxyInfo *proxy_info; | 1027 GaimProxyInfo *proxy_info; |
1028 | 1028 |
1029 ret = gtk_vbox_new(FALSE, GAIM_HIG_BOX_SPACE); | 1029 ret = gtk_vbox_new(FALSE, GAIM_HIG_BOX_SPACE); |
1030 gtk_container_set_border_width (GTK_CONTAINER (ret), GAIM_HIG_BORDER); | 1030 gtk_container_set_border_width (GTK_CONTAINER (ret), GAIM_HIG_BORDER); |
1031 | 1031 |
1032 vbox = gaim_gtk_make_frame (ret, _("IP Address")); | 1032 vbox = gaim_gtk_make_frame (ret, _("IP Address")); |
1033 | 1033 |
1034 auto_ip_checkbox = gaim_gtk_prefs_checkbox(_("_Autodetect IP Address"), | 1034 auto_ip_checkbox = gaim_gtk_prefs_checkbox(_("_Autodetect IP Address"), |
1035 "/core/network/auto_ip", vbox); | 1035 "/core/network/auto_ip", vbox); |
1036 stun_server_entry = gaim_gtk_prefs_labeled_entry(vbox,_("STUN Server"), "/core/network/stun_server", NULL); | |
1036 | 1037 |
1037 table = gtk_table_new(2, 1, FALSE); | 1038 table = gtk_table_new(2, 1, FALSE); |
1038 gtk_container_set_border_width(GTK_CONTAINER(table), 5); | 1039 gtk_container_set_border_width(GTK_CONTAINER(table), 5); |
1039 gtk_table_set_col_spacings(GTK_TABLE(table), 5); | 1040 gtk_table_set_col_spacings(GTK_TABLE(table), 5); |
1040 gtk_table_set_row_spacings(GTK_TABLE(table), 10); | 1041 gtk_table_set_row_spacings(GTK_TABLE(table), 10); |