[ekiga] Add a new page in configuration assistant with info about accounts
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Add a new page in configuration assistant with info about accounts
- Date: Wed, 21 Sep 2011 21:03:12 +0000 (UTC)
commit cf864e8d8ab62b7a51b453846b3ebafd05b3bdcb
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Wed Sep 21 23:00:36 2011 +0200
Add a new page in configuration assistant with info about accounts
This gives novice users some basic account information.
Thanks to Michael J. Chudobiak for improving English text.
src/gui/assistant.cpp | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/assistant.cpp b/src/gui/assistant.cpp
index 667307b..6d26220 100644
--- a/src/gui/assistant.cpp
+++ b/src/gui/assistant.cpp
@@ -67,6 +67,7 @@ struct _EkigaAssistantPrivate
GtkWidget *welcome_page;
GtkWidget *personal_data_page;
+ GtkWidget *info_page;
GtkWidget *ekiga_net_page;
GtkWidget *ekiga_out_page;
GtkWidget *connection_type_page;
@@ -428,6 +429,35 @@ apply_personal_data_page (EkigaAssistant *assistant)
static void
+create_info_page (EkigaAssistant *assistant)
+{
+ GtkWidget *label;
+
+ label = gtk_label_new (_("If you do not have a SIP or H323 account, ekiga "
+ "can only be used on your local internal network "
+ "(inside your company, for example). You will "
+ "require an account if you want to be accessible "
+ "to people on the Internet. Many web sites allow "
+ "you to create an account. We suggest that you use "
+ "a free ekiga.net account, which allows you to be "
+ "joined by any person with a SIP account. If you "
+ "want to call regular phone lines too, we suggest "
+ "that you purchase an inexpensive call out account."
+ "\n\nThe following two pages allow you to create "
+ "such accounts."));
+ gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+ gtk_widget_show (label);
+ gtk_assistant_append_page (GTK_ASSISTANT (assistant), label);
+ gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), label, _("Account Information"));
+ gtk_assistant_set_page_type (GTK_ASSISTANT (assistant), label, GTK_ASSISTANT_PAGE_CONTENT);
+ gtk_assistant_set_page_header_image (GTK_ASSISTANT (assistant), label, assistant->priv->icon);
+ gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), label, TRUE);
+
+ assistant->priv->info_page = label;
+}
+
+
+static void
ekiga_net_button_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
G_GNUC_UNUSED gpointer data)
{
@@ -1467,6 +1497,7 @@ ekiga_assistant_init (EkigaAssistant *assistant)
create_welcome_page (assistant);
create_personal_data_page (assistant);
+ create_info_page (assistant);
create_ekiga_net_page (assistant);
create_ekiga_out_page (assistant);
create_connection_type_page (assistant);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]