aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-25 21:24:01 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-26 20:04:09 +0800
commit975f45f447bb3ceea7a467766a513b301c4b36c2 (patch)
tree8051fb4d132eb4ea6fbf6b3678adcd17ce91dc3e /libempathy-gtk
parent94895f1acb08a01dc28dae1f423abe43e8f6afbd (diff)
downloadgsoc2013-empathy-975f45f447bb3ceea7a467766a513b301c4b36c2.tar
gsoc2013-empathy-975f45f447bb3ceea7a467766a513b301c4b36c2.tar.gz
gsoc2013-empathy-975f45f447bb3ceea7a467766a513b301c4b36c2.tar.bz2
gsoc2013-empathy-975f45f447bb3ceea7a467766a513b301c4b36c2.tar.lz
gsoc2013-empathy-975f45f447bb3ceea7a467766a513b301c4b36c2.tar.xz
gsoc2013-empathy-975f45f447bb3ceea7a467766a513b301c4b36c2.tar.zst
gsoc2013-empathy-975f45f447bb3ceea7a467766a513b301c4b36c2.zip
use the simple variant of the IRC widget if needed
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 66c7e467b..1fec201a0 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -901,8 +901,16 @@ account_widget_build_irc (EmpathyAccountWidget *self,
const char *filename)
{
EmpathyAccountWidgetPriv *priv = GET_PRIV (self);
- empathy_account_widget_irc_build (self, filename,
- &priv->table_common_settings);
+
+ if (priv->simple)
+ {
+ empathy_account_widget_irc_build_simple (self, filename);
+ }
+ else
+ {
+ empathy_account_widget_irc_build (self, filename,
+ &priv->table_common_settings);
+ }
}
static void