aboutsummaryrefslogtreecommitdiff
path: root/ayatanawebmail/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'ayatanawebmail/common.py')
-rwxr-xr-xayatanawebmail/common.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ayatanawebmail/common.py b/ayatanawebmail/common.py
index cc7c43b..47a17e2 100755
--- a/ayatanawebmail/common.py
+++ b/ayatanawebmail/common.py
@@ -19,8 +19,6 @@ except IOError:
g_oTranslation = gettext.NullTranslations()
g_oTranslation.install()
-
-g_dctDefaultURLs = {'Home': 'https://mail.example.com', 'Compose': 'https://mail.example.com/compose', 'Inbox': 'https://mail.example.com/inbox', 'Sent': 'https://mail.example.com/sent'}
g_oSettings = Gio.Settings.new('org.ayatana.webmail')
g_lstAccounts = []
@@ -80,7 +78,7 @@ def resolveURL(strURL):
def openURLOrCommand(strURL):
- if strURL in g_dctDefaultURLs:
+ if strURL in ['Home', 'Compose', 'Inbox', 'Sent']:
strURL0 = g_lstAccounts[0][strURL]