# HG changeset patch # User Mikael Berthe # Date 1182193955 -7200 # Node ID f7b9a00c512d5e793d36347f13acdca759997f8e # Parent 7d6b99b9f14d0bb86b761c13b4ac3710429d3bae Make room bookark more verbose, and remove duplicate bookmarks diff -r 7d6b99b9f14d -r f7b9a00c512d mcabber/src/jabglue.c --- a/mcabber/src/jabglue.c Mon Jun 18 19:35:39 2007 +0200 +++ b/mcabber/src/jabglue.c Mon Jun 18 21:12:35 2007 +0200 @@ -1341,7 +1341,7 @@ // If we have no bookmarks, probably the server doesn't support them. if (!bookmarks) { - scr_LogPrint(LPRINT_LOGNORM, + scr_LogPrint(LPRINT_NORMAL, "Sorry, your server doesn't seem to support private storage."); return; } @@ -1362,7 +1362,8 @@ // create a new one. xmlnode_hide(x); changed = TRUE; - break; + if (!name) + scr_LogPrint(LPRINT_LOGNORM, "Deleting bookmark..."); } } } @@ -1378,6 +1379,7 @@ if (passwd) xmlnode_insert_cdata(xmlnode_insert_tag(x, "password"), passwd, -1); changed = TRUE; + scr_LogPrint(LPRINT_LOGNORM, "Updating bookmarks..."); } if (!changed) @@ -1451,7 +1453,7 @@ // If we have no rosternotes, probably the server doesn't support them. if (!rosternotes) { if (!silent) - scr_LogPrint(LPRINT_LOGNORM, "Sorry, " + scr_LogPrint(LPRINT_NORMAL, "Sorry, " "your server doesn't seem to support private storage."); return NULL; } @@ -1487,7 +1489,7 @@ // If we have no rosternotes, probably the server doesn't support them. if (!rosternotes) { - scr_LogPrint(LPRINT_LOGNORM, + scr_LogPrint(LPRINT_NORMAL, "Sorry, your server doesn't seem to support private storage."); return; }