~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to libempathy-gtk/empathy-accounts-dialog.c

Tags: upstream-0.22.0
ImportĀ upstreamĀ versionĀ 0.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
2
/*
3
3
 * Copyright (C) 2005-2007 Imendio AB
4
 
 * Copyright (C) 2007 Collabora Ltd.
 
4
 * Copyright (C) 2007-2008 Collabora Ltd.
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or
7
7
 * modify it under the terms of the GNU General Public License as
45
45
 
46
46
#include "empathy-accounts-dialog.h"
47
47
#include "empathy-profile-chooser.h"
48
 
#include "empathy-account-widget-generic.h"
49
 
#include "empathy-account-widget-jabber.h"
50
 
#include "empathy-account-widget-msn.h"
51
 
#include "empathy-account-widget-salut.h"
 
48
#include "empathy-account-widget.h"
 
49
#include "empathy-account-widget-irc.h"
52
50
 
53
51
#define DEBUG_DOMAIN "AccountDialog"
54
52
 
272
270
                        dialog->settings_widget =
273
271
                                empathy_account_widget_salut_new (account);
274
272
                }
 
273
                else if (!tp_strdiff (config_ui, "irc")) {
 
274
                        dialog->settings_widget =
 
275
                                empathy_account_widget_irc_new (account);
 
276
                }
 
277
                else if (!tp_strdiff(config_ui, "icq")) {
 
278
                        dialog->settings_widget =
 
279
                                empathy_account_widget_icq_new (account);
 
280
                }
 
281
                else if (!tp_strdiff (config_ui, "yahoo")) {
 
282
                        dialog->settings_widget =
 
283
                                empathy_account_widget_yahoo_new (account);
 
284
                }
275
285
                else {
276
286
                        dialog->settings_widget = 
277
287
                                empathy_account_widget_generic_new (account);