comparison src/prefs.c @ 11654:bf6ba37db13b

[gaim-migrate @ 13938] Some changes to the gtkstatusbar. I took out all the saved statuses. They should be replaced by a list of the most recently used saved+transient statuses. I also removed the /core/away/default_message preference and replaced it with /core/status/current and /core/status/idleaway. These new prefs store the title of the saved status that is being used and should be used when you become idle, respectively. Some bits still need some work, but I think this is moving in the right direction. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 13 Oct 2005 02:50:13 +0000
parents bb0d7b719af2
children a647f92e1d57
comparison
equal deleted inserted replaced
11653:c7aaac1fb252 11654:bf6ba37db13b
1050 gaim_prefs_remove("/core/away/auto_response/enabled"); 1050 gaim_prefs_remove("/core/away/auto_response/enabled");
1051 gaim_prefs_remove("/core/away/auto_response/idle_only"); 1051 gaim_prefs_remove("/core/away/auto_response/idle_only");
1052 gaim_prefs_remove("/core/away/auto_response/in_active_conv"); 1052 gaim_prefs_remove("/core/away/auto_response/in_active_conv");
1053 gaim_prefs_remove("/core/away/auto_response/sec_before_resend"); 1053 gaim_prefs_remove("/core/away/auto_response/sec_before_resend");
1054 gaim_prefs_remove("/core/away/auto_response"); 1054 gaim_prefs_remove("/core/away/auto_response");
1055 gaim_prefs_remove("/core/away/default_message");
1055 gaim_prefs_remove("/core/buddies/use_server_alias"); 1056 gaim_prefs_remove("/core/buddies/use_server_alias");
1056 gaim_prefs_remove("/core/conversations/away_back_on_send"); 1057 gaim_prefs_remove("/core/conversations/away_back_on_send");
1057 gaim_prefs_remove("/core/conversations/send_urls_as_links"); 1058 gaim_prefs_remove("/core/conversations/send_urls_as_links");
1058 gaim_prefs_remove("/core/conversations/im/show_login"); 1059 gaim_prefs_remove("/core/conversations/im/show_login");
1059 gaim_prefs_remove("/core/conversations/chat/show_join"); 1060 gaim_prefs_remove("/core/conversations/chat/show_join");
1087 1088
1088 /* Away */ 1089 /* Away */
1089 gaim_prefs_add_none("/core/away"); 1090 gaim_prefs_add_none("/core/away");
1090 gaim_prefs_add_bool("/core/away/away_when_idle", TRUE); 1091 gaim_prefs_add_bool("/core/away/away_when_idle", TRUE);
1091 gaim_prefs_add_int("/core/away/mins_before_away", 5); 1092 gaim_prefs_add_int("/core/away/mins_before_away", 5);
1092 /* XXX: internationalized string in prefs...evil */
1093 gaim_prefs_add_string("/core/away/default_message",
1094 _("Slightly less boring default"));
1095 1093
1096 /* Away -> Auto-Reply */ 1094 /* Away -> Auto-Reply */
1097 if (!gaim_prefs_exists("/core/away/auto_response/enabled") || 1095 if (!gaim_prefs_exists("/core/away/auto_response/enabled") ||
1098 !gaim_prefs_exists("/core/away/auto_response/idle_only")) { 1096 !gaim_prefs_exists("/core/away/auto_response/idle_only")) {
1099 gaim_prefs_add_string("/core/away/auto_reply", "awayidle"); 1097 gaim_prefs_add_string("/core/away/auto_reply", "awayidle");