Sat, 31 Jul 2004 20:48:03 +0000
[gaim-migrate @ 10463]
Odds n ends.
| HACKING | file | annotate | diff | comparison | revisions | |
| PROGRAMMING_NOTES | file | annotate | diff | comparison | revisions | |
| src/account.c | file | annotate | diff | comparison | revisions | |
| src/account.h | file | annotate | diff | comparison | revisions | |
| src/prefs.h | file | annotate | diff | comparison | revisions |
--- a/HACKING Sat Jul 31 15:27:39 2004 +0000 +++ b/HACKING Sat Jul 31 20:48:03 2004 +0000 @@ -192,14 +192,6 @@ is housed, to import buddy lists. (The actual buddy list parsing code is in util.c for winaim lists and buddy.c for gaim's own lists.) -gaimrc.c: - This controls everything about the .gaimrc file. There's not really much - to say about it; this is probably one of the better designed and easier - to follow files in gaim. The important functions are towards the bottom. - This file is also utterly deprecated. It is used only for importing - on upgrade. the prefs.c and prefs.h files replace the control, - and gtkprefs.c replaces the gui component. - gtkimhtml.c: This is gaim's HTML widget. It replaced the old widget, GtkHtml (which was different than GNOME's GtkHTML). It's self-contained (it doesn't
--- a/PROGRAMMING_NOTES Sat Jul 31 15:27:39 2004 +0000 +++ b/PROGRAMMING_NOTES Sat Jul 31 20:48:03 2004 +0000 @@ -31,10 +31,6 @@ printf("File in DATADIR is: %s%s%s\n", DATADIR, G_DIR_SEPARATOR_S, "pic.png"); -- When writing out paths to .gaimrc, use wgaim_escape_dirsep. This is necessary - because the Windows dir separator '\' is being used to escape characters, when - paths are read in from the .gaimrc file. - PLUGINS & PROTOS ----------------
--- a/src/account.c Sat Jul 31 15:27:39 2004 +0000 +++ b/src/account.c Sat Jul 31 20:48:03 2004 +0000 @@ -1199,7 +1199,7 @@ g_free(filename); accounts_loaded = TRUE; - return TRUE; /* we return TRUE so .gaimrc doesn't load */ + return TRUE; } if (!g_markup_parse_context_end_parse(context, NULL)) { @@ -1210,7 +1210,7 @@ g_free(filename); accounts_loaded = TRUE; - return TRUE; /* we return TRUE so .gaimrc doesn't load */ + return TRUE; } g_markup_parse_context_free(context);
--- a/src/account.h Sat Jul 31 15:27:39 2004 +0000 +++ b/src/account.h Sat Jul 31 20:48:03 2004 +0000 @@ -535,6 +535,9 @@ /** * Loads the accounts. + * + * @return TRUE if accounts.xml was loaded successfully. Otherwise + * FALSE is returned. */ gboolean gaim_accounts_load();
--- a/src/prefs.h Sat Jul 31 15:27:39 2004 +0000 +++ b/src/prefs.h Sat Jul 31 20:48:03 2004 +0000 @@ -177,8 +177,8 @@ /** * Check if a pref exists * - * @param name The name of the pref - * @return Whether or not the pref exists + * @param name The name of the pref + * @return TRUE if the pref exists. Otherwise FALSE. */ gboolean gaim_prefs_exists(const char *name);