aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-19 21:49:37 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-19 23:46:53 +0800
commit3241a32e5b7fc4ee8ae8907fbdde74d98660ebca (patch)
tree88e842a07493c31f409b0e5e1f3dd11bea8e4f2b /libempathy-gtk
parent48a4f5ec33f06f0e26017fcf7fc4c235a8e6d7df (diff)
downloadgsoc2013-empathy-3241a32e5b7fc4ee8ae8907fbdde74d98660ebca.tar
gsoc2013-empathy-3241a32e5b7fc4ee8ae8907fbdde74d98660ebca.tar.gz
gsoc2013-empathy-3241a32e5b7fc4ee8ae8907fbdde74d98660ebca.tar.bz2
gsoc2013-empathy-3241a32e5b7fc4ee8ae8907fbdde74d98660ebca.tar.lz
gsoc2013-empathy-3241a32e5b7fc4ee8ae8907fbdde74d98660ebca.tar.xz
gsoc2013-empathy-3241a32e5b7fc4ee8ae8907fbdde74d98660ebca.tar.zst
gsoc2013-empathy-3241a32e5b7fc4ee8ae8907fbdde74d98660ebca.zip
add_register_buttons: don't show the register buttons in simple mode
We use another page in the assistant to create new accounts (#607455).
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 112673d4d..c44b6cd1b 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1460,6 +1460,9 @@ add_register_buttons (EmpathyAccountWidget *self,
if (account_widget_is_gtalk (self))
return;
+ if (priv->simple)
+ return;
+
priv->radiobutton_reuse = gtk_radio_button_new_with_label (NULL,
_("This account already exists on the server"));
radiobutton_register = gtk_radio_button_new_with_label (