Mercurial > pidgin.yaz
changeset 18093:c0a09c56d0c5
Custom logger selection doesn't work after a restart. To fix this, we do a
check whenever a new logger is added, and start using it if this is what
the user really wants.
This commit message is longer than the actual patch.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 13 Jun 2007 12:26:48 +0000 |
parents | 662564beb575 |
children | 8502b0b42436 16bfad2597fb |
files | libpurple/log.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/log.c Wed Jun 13 08:07:06 2007 +0000 +++ b/libpurple/log.c Wed Jun 13 12:26:48 2007 +0000 @@ -406,6 +406,9 @@ if (g_slist_find(loggers, logger)) return; loggers = g_slist_append(loggers, logger); + if (strcmp(purple_prefs_get_string("/purple/logging/format"), logger->id) == 0) { + purple_prefs_trigger_callback("/purple/logging/format"); + } } void purple_log_logger_remove (PurpleLogLogger *logger)