summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
Diffstat (limited to 'capplets')
-rw-r--r--capplets/default-applications/mate-da-capplet.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/capplets/default-applications/mate-da-capplet.c b/capplets/default-applications/mate-da-capplet.c
index e29b23c8..07d16170 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/capplets/default-applications/mate-da-capplet.c
@@ -162,6 +162,11 @@ set_changed(GtkComboBox* combo, MateDACapplet* capplet, GList* list, gint type)
break;
case DA_TYPE_MESSENGER:
+ g_app_info_set_as_default_for_type(item, "x-scheme-handler/icq", NULL);
+ g_app_info_set_as_default_for_type(item, "x-scheme-handler/irc", NULL);
+ g_app_info_set_as_default_for_type(item, "x-scheme-handler/ircs", NULL);
+ g_app_info_set_as_default_for_type(item, "x-scheme-handler/sip", NULL);
+ g_app_info_set_as_default_for_type(item, "x-scheme-handler/xmpp", NULL);
g_settings_set_string (capplet->messenger_settings, MESSENGER_KEY, g_app_info_get_executable (item));
default: