[empathy] add_register_buttons: don't show the register buttons in simple mode



commit 3241a32e5b7fc4ee8ae8907fbdde74d98660ebca
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jan 19 13:49:37 2010 +0000

    add_register_buttons: don't show the register buttons in simple mode
    
    We use another page in the assistant to create new accounts (#607455).

 libempathy-gtk/empathy-account-widget.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 112673d..c44b6cd 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 (



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]