aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-07 21:01:13 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-07 21:06:06 +0800
commit92c0e18861d5a8fd9b55e7385581ac961f615a5e (patch)
treeba22e17a97ce08712d2f861e437bb6cace97f84a /libempathy-gtk/empathy-account-widget.c
parent521662e23476ddc9bc9c96917bb04a06ff4479cc (diff)
downloadgsoc2013-empathy-92c0e18861d5a8fd9b55e7385581ac961f615a5e.tar
gsoc2013-empathy-92c0e18861d5a8fd9b55e7385581ac961f615a5e.tar.gz
gsoc2013-empathy-92c0e18861d5a8fd9b55e7385581ac961f615a5e.tar.bz2
gsoc2013-empathy-92c0e18861d5a8fd9b55e7385581ac961f615a5e.tar.lz
gsoc2013-empathy-92c0e18861d5a8fd9b55e7385581ac961f615a5e.tar.xz
gsoc2013-empathy-92c0e18861d5a8fd9b55e7385581ac961f615a5e.tar.zst
gsoc2013-empathy-92c0e18861d5a8fd9b55e7385581ac961f615a5e.zip
Remove Ovi chat profile
Ovi services are about to change so best to wait for now.
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 5625f95dc..d96de2b34 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -59,7 +59,6 @@ typedef enum
NO_SERVICE = 0,
GTALK_SERVICE,
FACEBOOK_SERVICE,
- OVI_SERVICE,
N_SERVICES
} Service;
@@ -73,7 +72,6 @@ static ServiceInfo services_infos[N_SERVICES] = {
{ "label_username_example", TRUE },
{ "label_username_g_example", TRUE },
{ "label_username_f_example", FALSE },
- { "label_username_ovi_example", FALSE },
};
typedef struct {
@@ -1355,9 +1353,6 @@ account_widget_get_service (EmpathyAccountWidget *self)
!tp_strdiff (service, "facebook"))
return FACEBOOK_SERVICE;
- if (!tp_strdiff (service, "ovi-chat"))
- return OVI_SERVICE;
-
return NO_SERVICE;
}
@@ -1437,22 +1432,6 @@ account_widget_build_jabber (EmpathyAccountWidget *self,
self->ui_details->default_focus = g_strdup ("entry_id_fb_simple");
}
- else if (priv->simple && service == OVI_SERVICE)
- {
- /* Simple widget for Ovi */
- self->ui_details->gui = empathy_builder_get_file (filename,
- "vbox_ovi_simple", &self->ui_details->widget,
- "entry_id_ovi_simple", &entry_id,
- NULL);
-
- empathy_account_widget_handle_params (self,
- "entry_password_ovi_simple", "password",
- NULL);
-
- setup_id_widget_with_suffix (self, entry_id, "@ovi.com");
-
- self->ui_details->default_focus = g_strdup ("entry_id_ovi_simple");
- }
else
{
ServiceInfo info = services_infos[service];
@@ -1489,12 +1468,6 @@ account_widget_build_jabber (EmpathyAccountWidget *self,
* "@chat.facebook.com" part */
setup_id_widget_with_suffix (self, entry_id, "@chat.facebook.com");
}
- else if (service == OVI_SERVICE)
- {
- gtk_label_set_label (GTK_LABEL (label_id), _("Username:"));
-
- setup_id_widget_with_suffix (self, entry_id, "@ovi.com");
- }
else
{
empathy_account_widget_setup_widget (self, entry_id, "account");
@@ -2427,14 +2400,6 @@ empathy_account_widget_get_default_display_name (EmpathyAccountWidget *self)
default_display_name = g_strdup_printf ("Facebook (%s)", tmp);
g_free (tmp);
}
- else if (service == OVI_SERVICE)
- {
- gchar *tmp;
-
- tmp = remove_jid_suffix (self, login_id);
- default_display_name = g_strdup_printf ("Ovi (%s)", tmp);
- g_free (tmp);
- }
else
{
default_display_name = g_strdup (login_id);