From f02d7e446e3cc84a2c386bedb3e15f12c0c5667d Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 20 Oct 2006 21:25:47 +0000 Subject: [PATCH] missing logic on prefs window for exo-open stuff. fixes #2606. thanks baze for ur attention to detail --- src/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config.py b/src/config.py index 698627b6e..e8cc34f96 100644 --- a/src/config.py +++ b/src/config.py @@ -443,13 +443,15 @@ class PreferencesWindow: if gajim.config.get('autodetect_browser_mailer'): self.applications_combobox.set_active(0) # else autodetect_browser_mailer is False. - # so user has 'Always Use GNOME/KDE' or Custom + # so user has 'Always Use GNOME/KDE/XFCE4' or Custom elif gajim.config.get('openwith') == 'gnome-open': self.applications_combobox.set_active(1) elif gajim.config.get('openwith') == 'kfmclient exec': self.applications_combobox.set_active(2) + elif gajim.config.get('openwith') == 'exo-open': + self.applications_combobox.set_active(3) elif gajim.config.get('openwith') == 'custom': - self.applications_combobox.set_active(3) + self.applications_combobox.set_active(4) self.xml.get_widget('custom_apps_frame').show() self.xml.get_widget('custom_browser_entry').set_text(