Mercurial > pidgin.yaz
comparison src/prefs.c @ 7561:cdfdbabd3266
[gaim-migrate @ 8175]
Move conversation placement from a core pref to a UI pref.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 18 Nov 2003 23:24:05 +0000 |
parents | 450b25d8d953 |
children | 950ee542eea0 |
comparison
equal
deleted
inserted
replaced
7560:af9968dbdc70 | 7561:cdfdbabd3266 |
---|---|
613 } | 613 } |
614 | 614 |
615 void gaim_prefs_rename_old() { | 615 void gaim_prefs_rename_old() { |
616 gaim_prefs_rename("/gaim/gtk/logging/log_ims", "/core/logging/log_ims"); | 616 gaim_prefs_rename("/gaim/gtk/logging/log_ims", "/core/logging/log_ims"); |
617 gaim_prefs_rename("/gaim/gtk/logging/log_chats", "/core/logging/log_chats"); | 617 gaim_prefs_rename("/gaim/gtk/logging/log_chats", "/core/logging/log_chats"); |
618 gaim_prefs_rename("/core/conversations/placement", | |
619 "/gaim/gtk/conversations/placement"); | |
618 } | 620 } |
619 | 621 |
620 guint gaim_prefs_connect_callback(const char *name, GaimPrefCallback func, gpointer data) | 622 guint gaim_prefs_connect_callback(const char *name, GaimPrefCallback func, gpointer data) |
621 { | 623 { |
622 struct gaim_pref *pref = find_pref(name); | 624 struct gaim_pref *pref = find_pref(name); |
877 gchar *contents = NULL; | 879 gchar *contents = NULL; |
878 gsize length; | 880 gsize length; |
879 GMarkupParseContext *context; | 881 GMarkupParseContext *context; |
880 GError *error = NULL; | 882 GError *error = NULL; |
881 | 883 |
882 | 884 if (!filename) { |
883 if(!filename) { | |
884 prefs_is_loaded = TRUE; | 885 prefs_is_loaded = TRUE; |
885 return FALSE; | 886 return FALSE; |
886 } | 887 } |
887 | 888 |
888 gaim_debug(GAIM_DEBUG_INFO, "prefs", "Reading %s\n", filename); | 889 gaim_debug(GAIM_DEBUG_INFO, "prefs", "Reading %s\n", filename); |