diff options
author | Robert Tari <robert@tari.in> | 2020-08-22 20:19:03 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2020-08-22 20:19:03 +0200 |
commit | ef27a57e0d507c5be37b0e065b5a729670552bdb (patch) | |
tree | 6482cf378de8dd4f0ada90add62ca1674f1f90cd /ayatanawebmail/common.py | |
parent | eb462c2b52cbcad84f27340d69c3ce5ddd811f65 (diff) | |
download | ayatana-webmail-ef27a57e0d507c5be37b0e065b5a729670552bdb.tar.gz ayatana-webmail-ef27a57e0d507c5be37b0e065b5a729670552bdb.tar.bz2 ayatana-webmail-ef27a57e0d507c5be37b0e065b5a729670552bdb.zip |
Use server configuration templates + set minimum folder list height
Diffstat (limited to 'ayatanawebmail/common.py')
-rwxr-xr-x | ayatanawebmail/common.py | 4 |
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] |