comparison src/gtkprefs.c @ 12152:cda86ce5b026

[gaim-migrate @ 14453] Capitalization fixes in the UI. Consistency is good. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 19 Nov 2005 04:58:44 +0000
parents 9f34340f2445
children 24bde295d755
comparison
equal deleted inserted replaced
12151:de798f2f4bf1 12152:cda86ce5b026
959 ret = gtk_vbox_new(FALSE, GAIM_HIG_BOX_SPACE); 959 ret = gtk_vbox_new(FALSE, GAIM_HIG_BOX_SPACE);
960 gtk_container_set_border_width (GTK_CONTAINER (ret), GAIM_HIG_BORDER); 960 gtk_container_set_border_width (GTK_CONTAINER (ret), GAIM_HIG_BORDER);
961 961
962 vbox = gaim_gtk_make_frame (ret, _("IP Address")); 962 vbox = gaim_gtk_make_frame (ret, _("IP Address"));
963 963
964 stun_server_entry = gaim_gtk_prefs_labeled_entry(vbox,_("STUN Server:"), "/core/network/stun_server", NULL); 964 stun_server_entry = gaim_gtk_prefs_labeled_entry(vbox,_("ST_UN server:"), "/core/network/stun_server", NULL);
965 965
966 auto_ip_checkbox = gaim_gtk_prefs_checkbox(_("_Autodetect IP Address"), 966 auto_ip_checkbox = gaim_gtk_prefs_checkbox(_("_Autodetect IP address"),
967 "/core/network/auto_ip", vbox); 967 "/core/network/auto_ip", vbox);
968 968
969 table = gtk_table_new(2, 1, FALSE); 969 table = gtk_table_new(2, 1, FALSE);
970 gtk_container_set_border_width(GTK_CONTAINER(table), 0); 970 gtk_container_set_border_width(GTK_CONTAINER(table), 0);
971 gtk_table_set_col_spacings(GTK_TABLE(table), 5); 971 gtk_table_set_col_spacings(GTK_TABLE(table), 5);
1000 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); 1000 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
1001 1001
1002 ports_checkbox = gaim_gtk_prefs_checkbox(_("_Manually specify range of ports to listen on"), 1002 ports_checkbox = gaim_gtk_prefs_checkbox(_("_Manually specify range of ports to listen on"),
1003 "/core/network/ports_range_use", vbox); 1003 "/core/network/ports_range_use", vbox);
1004 1004
1005 spin_button = gaim_gtk_prefs_labeled_spin_button(vbox, _("_Start Port:"), 1005 spin_button = gaim_gtk_prefs_labeled_spin_button(vbox, _("_Start port:"),
1006 "/core/network/ports_range_start", 0, 65535, sg); 1006 "/core/network/ports_range_start", 0, 65535, sg);
1007 if (!gaim_prefs_get_bool("/core/network/ports_range_use")) 1007 if (!gaim_prefs_get_bool("/core/network/ports_range_use"))
1008 gtk_widget_set_sensitive(GTK_WIDGET(spin_button), FALSE); 1008 gtk_widget_set_sensitive(GTK_WIDGET(spin_button), FALSE);
1009 g_signal_connect(G_OBJECT(ports_checkbox), "clicked", 1009 g_signal_connect(G_OBJECT(ports_checkbox), "clicked",
1010 G_CALLBACK(gaim_gtk_toggle_sensitive), spin_button); 1010 G_CALLBACK(gaim_gtk_toggle_sensitive), spin_button);
1011 1011
1012 spin_button = gaim_gtk_prefs_labeled_spin_button(vbox, _("_End Port:"), 1012 spin_button = gaim_gtk_prefs_labeled_spin_button(vbox, _("_End port:"),
1013 "/core/network/ports_range_end", 0, 65535, sg); 1013 "/core/network/ports_range_end", 0, 65535, sg);
1014 if (!gaim_prefs_get_bool("/core/network/ports_range_use")) 1014 if (!gaim_prefs_get_bool("/core/network/ports_range_use"))
1015 gtk_widget_set_sensitive(GTK_WIDGET(spin_button), FALSE); 1015 gtk_widget_set_sensitive(GTK_WIDGET(spin_button), FALSE);
1016 g_signal_connect(G_OBJECT(ports_checkbox), "clicked", 1016 g_signal_connect(G_OBJECT(ports_checkbox), "clicked",
1017 G_CALLBACK(gaim_gtk_toggle_sensitive), spin_button); 1017 G_CALLBACK(gaim_gtk_toggle_sensitive), spin_button);
1277 gtk_container_set_border_width (GTK_CONTAINER (ret), GAIM_HIG_BORDER); 1277 gtk_container_set_border_width (GTK_CONTAINER (ret), GAIM_HIG_BORDER);
1278 1278
1279 vbox = gaim_gtk_make_frame (ret, _("Logging")); 1279 vbox = gaim_gtk_make_frame (ret, _("Logging"));
1280 names = gaim_log_logger_get_options(); 1280 names = gaim_log_logger_get_options();
1281 1281
1282 gaim_gtk_prefs_dropdown_from_list(vbox, _("Log _Format:"), GAIM_PREF_STRING, 1282 gaim_gtk_prefs_dropdown_from_list(vbox, _("Log _format:"), GAIM_PREF_STRING,
1283 "/core/logging/format", names); 1283 "/core/logging/format", names);
1284 1284
1285 g_list_free(names); 1285 g_list_free(names);
1286 1286
1287 gaim_gtk_prefs_checkbox(_("Log all _instant messages"), 1287 gaim_gtk_prefs_checkbox(_("Log all _instant messages"),