combobox index for 'Custom' is 3

This commit is contained in:
Dimitur Kirov 2005-07-27 12:22:17 +00:00
parent 441b9d6290
commit 38d5253b2e
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ class PreferencesWindow:
def on_links_open_with_combobox_changed(self, widget):
gajim.config.set('autodetect_browser_mailer', False)
if widget.get_active() == 2:
if widget.get_active() == 3:
self.xml.get_widget('custom_apps_frame').set_sensitive(True)
gajim.config.set('openwith', 'custom')
else: