# HG changeset patch # User Stu Tomlinson # Date 1182090821 0 # Node ID 82c7ae86d92c9e493e881970eb4b173a6b95ff99 # Parent 094698b04630e7efe39216735cdf9870af32fcc9 disapproval of revision '8252394105eb4f981e17cec193e039dc94dfbde1' diff -r 094698b04630 -r 82c7ae86d92c libpurple/debug.c --- a/libpurple/debug.c Sun Jun 17 07:46:04 2007 +0000 +++ b/libpurple/debug.c Sun Jun 17 14:33:41 2007 +0000 @@ -183,4 +183,12 @@ void purple_debug_init(void) { + purple_prefs_add_none("/purple/debug"); + + /* + * This pref is obsolete and no longer referenced anywhere. It only + * survives here because it would be an API break if we removed it. + * Remove this when we get to 3.0.0 :) + */ + purple_prefs_add_bool("/purple/debug/timestamps", TRUE); } diff -r 094698b04630 -r 82c7ae86d92c libpurple/prefs.c --- a/libpurple/prefs.c Sun Jun 17 07:46:04 2007 +0000 +++ b/libpurple/prefs.c Sun Jun 17 14:33:41 2007 +0000 @@ -1356,7 +1356,6 @@ purple_prefs_remove("/plugins/core/autorecon/restore_state"); purple_prefs_remove("/plugins/core/autorecon"); purple_prefs_remove("/purple/debug/timestamps"); - purple_prefs_remove("/purple/debug"); /* Convert old sounds while_away pref to new 3-way pref. */ if (purple_prefs_exists("/purple/sound/while_away") && diff -r 094698b04630 -r 82c7ae86d92c pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Sun Jun 17 07:46:04 2007 +0000 +++ b/pidgin/gtkprefs.c Sun Jun 17 14:33:41 2007 +0000 @@ -2096,6 +2096,7 @@ purple_prefs_rename("/purple/conversations/placement", PIDGIN_PREFS_ROOT "/conversations/placement"); + purple_prefs_rename(PIDGIN_PREFS_ROOT "/debug/timestamps", "/purple/debug/timestamps"); purple_prefs_rename(PIDGIN_PREFS_ROOT "/conversations/im/raise_on_events", "/plugins/gtk/X11/notify/method_raise"); purple_prefs_rename_boolean_toggle(PIDGIN_PREFS_ROOT "/conversations/ignore_colors", @@ -2136,7 +2137,6 @@ purple_prefs_remove(PIDGIN_PREFS_ROOT "/conversations/ignore_fonts"); purple_prefs_remove(PIDGIN_PREFS_ROOT "/conversations/ignore_font_sizes"); purple_prefs_remove(PIDGIN_PREFS_ROOT "/conversations/passthrough_unknown_commands"); - purple_prefs_remove(PIDGIN_PREFS_ROOT "/debug/timestamps"); purple_prefs_remove(PIDGIN_PREFS_ROOT "/idle"); purple_prefs_remove(PIDGIN_PREFS_ROOT "/logging/individual_logs"); purple_prefs_remove(PIDGIN_PREFS_ROOT "/sound/signon");