Mercurial > pidgin.yaz
diff libpurple/plugins/autoaccept.c @ 19566:57d350900136
Tooltips can be for the buddylist or for conversation windows.
A more appropriate fix for #2723.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 01 Sep 2007 23:50:22 +0000 |
parents | aed9eceb7b0f |
children | b99a158ea85e |
line wrap: on
line diff
--- a/libpurple/plugins/autoaccept.c Sat Sep 01 23:09:41 2007 +0000 +++ b/libpurple/plugins/autoaccept.c Sat Sep 01 23:50:22 2007 +0000 @@ -106,12 +106,12 @@ node = node->parent; g_return_if_fail(PURPLE_BLIST_NODE_IS_CONTACT(node)); - pref = purple_prefs_get_string(PREF_PATH); switch (purple_blist_node_get_int(node, "autoaccept")) { case FT_ASK: break; case FT_ACCEPT: + pref = purple_prefs_get_string(PREF_PATH); if (ensure_path_exists(pref)) { dirname = g_build_filename(pref, xfer->who, NULL);