combobox index for 'Custom' is 3
This commit is contained in:
parent
441b9d6290
commit
38d5253b2e
|
@ -786,7 +786,7 @@ class PreferencesWindow:
|
||||||
|
|
||||||
def on_links_open_with_combobox_changed(self, widget):
|
def on_links_open_with_combobox_changed(self, widget):
|
||||||
gajim.config.set('autodetect_browser_mailer', False)
|
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)
|
self.xml.get_widget('custom_apps_frame').set_sensitive(True)
|
||||||
gajim.config.set('openwith', 'custom')
|
gajim.config.set('openwith', 'custom')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue