View Single Post
Posts: 17 | Thanked: 17 times | Joined on Aug 2008 @ Portsmouth UK
#18
Simple, using gconftool-2.

First, find the relevant email account (bold is what you type):

Code:
[sbox-FREMANTLE_X86: ~] > gconftool-2 --all-dirs /apps/modest/accounts
 /apps/modest/accounts/gmailID
If you have more than one account, there will be several paths on the list up there. For example, my account you can see above is called 'gmail'.
Then, you can use gconftool-2 to view the details of each of the accounts listed to find the path for the relevant one:

Code:
[sbox-FREMANTLE_X86: ~] > gconftool-2 -a /apps/modest/accounts/gmailID
 signature = 
 limit-retrieve = 20
 notification_ids = [1]
 store_account = gmailID_store
 has_new_mails = false
 retrieve = messages-and-attachments
 email = xxx@googlemail.com
 use_specific_smtp = false
 enabled = true
 leave_on_server = true
 display_name = gmail
 fullname = xxx
 use_signature = false
 transport_account = gmailID_transport
Then you can change enabled to false, restart modest and it won't be there til you change it back to true:

Code:
[sbox-FREMANTLE_X86: ~] > gconftool-2 -s /apps/modest/accounts/gmailID/enabled --type bool false
Change the 'false' to 'true' to re-enable it, you can probably make a shell script to turn it on and off if you like, the path generally shouldn't change, so once you find the account, it's just a case of remembering that last command...

Hope that helps!

Last edited by cmantito; 2010-12-26 at 11:52.
 

The Following 2 Users Say Thank You to cmantito For This Useful Post: