Add access to account store in plugins.
[modest] / HACKING
diff --git a/HACKING b/HACKING
index e69f7ac..f61fa36 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -1,6 +1,9 @@
 HACKING
 =======
 
+[ Unfortunately, modest is not following these rules everywhere;
+however, it *should* ]
+
 When hacking on modest, please honour these time-tested coding guidelines.
 First, please follow the Linux CodingStyle guidelines
 (/usr/src/linux/Documentation/CodingStyle); for naming, follow the
@@ -10,7 +13,7 @@ Here are some additional notes.
 
 Your editor may help you with this, for example for emacs:
 
-       (c-set-style "K&R")
+       (c-set-style "K&R")
        (setq tab-width 8)
        (setq indent-tabs-mode t)
        (setq c-basic-offset 8)
@@ -57,4 +60,16 @@ GLib/GTK+/GObject. Some things to remember:
   ie. they are to be used for error checking,  but not for your programming logic
 
 
+DEBUGGING
+=========
+There are some DBUS methods available for debugging.
+
+run-standalone.sh  dbus-send --print-reply --dest=com.nokia.modest /com/nokia/modest com.nokia.modest.DumpOperationQueue
+
+(instead of DumpOperationQueue, you can also use DumpSendQueues or
+DumpAccounts)
+
+These methods will print a list of the current mail operation queue,
+send queues or the accounts. If you don't know what that means, then
+this problably not for you :)