main() has been replaced by init(), enable() and disable() committing together as changes are very similar in nature
Having an empty submenu is weird, it's better to hide it completely in that case. Plus a bunch of whitespace fixes.
Signed-off-by: Vamsi Krishna Brahmajosyula <vamsikrishna.brahmajosyula@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=648724