[Kde-pim] Review Request: making kmail network-aware

Martin Bednar serafean at gmail.com
Thu Mar 1 21:44:46 GMT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102431/
-----------------------------------------------------------

(Updated March 1, 2012, 9:44 p.m.)


Review request for KDEPIM.


Changes
-------

Checked that it applies, caught one more compare to Solid::Networking::Connected. Sorry for the delay.
I'd really appreciate some feedback, whether I should discard this patch, or modify it in some other way.


Description
-------

Changes Solid calls to not render KMail useless when Solid can't detect network connection (same as Andreas did in isOffline). Asks the user to go online only based on the internal Kmail networkState status, ignoring the status of the network. Modifies behaviour of askToGoOnline() function to return false when there is no network detected, thus making checkMailOnStartup() and checkMail() functions network-aware.


Diffs (updated)
-----

  kmail/kmkernel.h 35eaf28 
  kmail/kmkernel.cpp 86244a6 
  kmail/kmmainwidget.h f9c59a2 
  kmail/kmmainwidget.cpp 06bdb0e 

Diff: http://git.reviewboard.kde.org/r/102431/diff/


Testing
-------

compiles,runs, works fine with solid not detecting network, haven't bumped into any issue with Solid working.


Thanks,

Martin Bednar

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list