ekiga r6284 - in trunk: . src/gui
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6284 - in trunk: . src/gui
- Date: Mon, 19 May 2008 21:01:17 +0000 (UTC)
Author: dsandras
Date: Mon May 19 21:01:16 2008
New Revision: 6284
URL: http://svn.gnome.org/viewvc/ekiga?rev=6284&view=rev
Log:
Removed obsolete network page. We do not need it anymore as we listen
on all interfaces and nat detection is now more or less automatic.
Modified:
trunk/ChangeLog
trunk/src/gui/preferences.cpp
Modified: trunk/src/gui/preferences.cpp
==============================================================================
--- trunk/src/gui/preferences.cpp (original)
+++ trunk/src/gui/preferences.cpp Mon May 19 21:01:16 2008
@@ -157,15 +157,6 @@
/* DESCRIPTION : /
- * BEHAVIOR : Builds the network settings page.
- * PRE : A valid pointer to the preferences window GMObject, and to the
- * container widget where to attach the generated page.
- */
-static void gm_pw_init_network_page (GtkWidget *prefs_window,
- GtkWidget *container);
-
-
-/* DESCRIPTION : /
* BEHAVIOR : Builds the H.323 settings page.
* PRE : A valid pointer to the preferences window GMObject, and to the
* container widget where to attach the generated page.
@@ -235,15 +226,6 @@
/* DESCRIPTION : This callback is called when the user clicks
- * on the Update button of the NAT Settings.
- * BEHAVIOR : Update the NAT method used by the endpoint.
- * PRE : Data is a pointer to the prefs window.
- */
-static void nat_method_update_cb (GtkWidget *widget,
- gpointer data);
-
-
-/* DESCRIPTION : This callback is called when the user clicks
* on a sound event in the list.
* BEHAVIOR : It udpates the GtkFileChooser's filename to the config
* value for the key corresponding to the currently
@@ -615,43 +597,6 @@
static void
-gm_pw_init_network_page (GtkWidget *prefs_window,
- GtkWidget *container)
-{
- GmPreferencesWindow *pw = NULL;
-
- GtkWidget *subsection = NULL;
-
- PStringArray ifaces;
- const gchar *nat_method [] =
- {
- _("None"),
- _("STUN"),
- _("IP Translation"),
- NULL
- };
-
- g_return_if_fail (prefs_window != NULL);
-
- pw = gm_pw_get_pw (prefs_window);
-
- g_return_if_fail (pw != NULL);
-
-
- /* NAT */
- subsection =
- gnome_prefs_subsection_new (prefs_window, container,
- _("NAT Settings"), 2, 1);
-
- gnome_prefs_int_option_menu_new (subsection, _("NAT Traversal Method:"), nat_method, NAT_KEY "method", _("Select the desired method for NAT traversal (STUN is strongly suggested)"), 1);
-
- gnome_prefs_entry_new (subsection, _("STUN Se_rver:"), NAT_KEY "stun_server", _("The STUN server to use for STUN Support."), 2, false);
-
- gm_pw_add_update_button (prefs_window, container, GTK_STOCK_APPLY, _("_Apply"), GTK_SIGNAL_FUNC (nat_method_update_cb), _("Click here to update your NAT settings"), 0, prefs_window);
-}
-
-
-static void
gm_pw_init_h323_page (GtkWidget *prefs_window,
GtkWidget *container)
{
@@ -1555,11 +1500,6 @@
gnome_prefs_window_section_new (window, _("Protocols"));
container = gnome_prefs_window_subsection_new (window,
- _("Network Settings"));
- gm_pw_init_network_page (window, container);
- gtk_widget_show_all (GTK_WIDGET (container));
-
- container = gnome_prefs_window_subsection_new (window,
_("SIP Settings"));
gm_pw_init_sip_page (window, container);
gtk_widget_show_all (GTK_WIDGET (container));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]