# Unity Mail, common initialization code
# Author: Dmitry Shachnev <mitya57@gmail.com>
# License: GNU GPL 3 or higher; http://www.gnu.org/licenses/gpl.html

import gettext

gettext.bindtextdomain('unity-mail')
gettext.textdomain('unity-mail')

try:
	from gi.repository import Unity, Dbusmenu
except ImportError:
	with_unity = False
	Unity = Dbusmenu = None
else:
	with_unity = True

try:
	from gi.repository import MessagingMenu
except ImportError:
	with_messagingmenu = False
	MessagingMenu = None
else:
	with_messagingmenu = True
