From ef27a57e0d507c5be37b0e065b5a729670552bdb Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sat, 22 Aug 2020 20:19:03 +0200 Subject: Use server configuration templates + set minimum folder list height --- ayatanawebmail/common.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ayatanawebmail/common.py') 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] -- cgit v1.2.3