diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-03-10 21:10:25 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-03-19 02:49:55 +0800 |
commit | 9a801d532e49ddf56b78ae860de4b8f987e0bca3 (patch) | |
tree | cdd2b077d1c49b936d49b80a2eda481c83bb07c4 | |
parent | 70e8424f25f478f1eaae77c9b2374922d4b5f43c (diff) | |
download | gsoc2013-empathy-9a801d532e49ddf56b78ae860de4b8f987e0bca3.tar gsoc2013-empathy-9a801d532e49ddf56b78ae860de4b8f987e0bca3.tar.gz gsoc2013-empathy-9a801d532e49ddf56b78ae860de4b8f987e0bca3.tar.bz2 gsoc2013-empathy-9a801d532e49ddf56b78ae860de4b8f987e0bca3.tar.lz gsoc2013-empathy-9a801d532e49ddf56b78ae860de4b8f987e0bca3.tar.xz gsoc2013-empathy-9a801d532e49ddf56b78ae860de4b8f987e0bca3.tar.zst gsoc2013-empathy-9a801d532e49ddf56b78ae860de4b8f987e0bca3.zip |
Also show the EULA in the new account assistant
-rw-r--r-- | src/empathy-account-assistant.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index 4e6327231..591f92302 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -34,6 +34,7 @@ #include <libempathy/empathy-utils.h> #include <libempathy-gtk/empathy-account-widget.h> +#include <libempathy-gtk/empathy-account-widget-skype.h> #include <libempathy-gtk/empathy-protocol-chooser.h> #include <libempathy-gtk/empathy-ui-utils.h> @@ -400,6 +401,15 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser, /* we are not ready yet */ return; + if (!tp_strdiff (proto->name, "skype")) + { + if (!empathy_account_widget_skype_show_eula (GTK_WINDOW (self))) + { + gtk_combo_box_set_active (chooser, 0); + return; + } + } + /* Create account */ if (is_gtalk) name = "gtalk"; |