[ekiga/gnome-2-26] Remove obsolete enable_video key in schemas



commit 5ba2fda9041bc95920cc519719c36e438210e144
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Sun May 30 13:42:29 2010 +0200

    Remove obsolete enable_video key in schemas

 src/gui/assistant.cpp |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/gui/assistant.cpp b/src/gui/assistant.cpp
index f0197ff..2506a01 100644
--- a/src/gui/assistant.cpp
+++ b/src/gui/assistant.cpp
@@ -912,29 +912,24 @@ apply_connection_type_page (EkigaAssistant *assistant)
   /* Set the connection quality settings */
   switch (connection_type) {
     case NET_PSTN:
-      gm_conf_set_bool (VIDEO_CODECS_KEY "enable_video", FALSE);
       break;
 
     case NET_ISDN:
-      gm_conf_set_bool (VIDEO_CODECS_KEY "enable_video", FALSE);
       break;
 
     case NET_DSL128:
       gm_conf_set_int (VIDEO_DEVICES_KEY "size", 0); //QCIF
       gm_conf_set_int (VIDEO_CODECS_KEY "maximum_video_tx_bitrate", 64);
-      gm_conf_set_bool (VIDEO_CODECS_KEY "enable_video", TRUE);
       break;
 
     case NET_DSL512:
       gm_conf_set_int (VIDEO_DEVICES_KEY "size", 3); // 320x240
       gm_conf_set_int (VIDEO_CODECS_KEY "maximum_video_tx_bitrate", 384);
-      gm_conf_set_bool (VIDEO_CODECS_KEY "enable_video", TRUE);
       break;
 
     case NET_LAN:
       gm_conf_set_int (VIDEO_DEVICES_KEY "size", 3); // 320x240
       gm_conf_set_int (VIDEO_CODECS_KEY "maximum_video_tx_bitrate", 1024);
-      gm_conf_set_bool (VIDEO_CODECS_KEY "enable_video", TRUE);
       break;
 
     case NET_CUSTOM:
@@ -1653,11 +1648,9 @@ ekiga_assistant_new (Ekiga::ServiceCore *core)
   assistant->priv->connections.push_back (conn);
 
   /* Notifiers for the VIDEO_CODECS_KEY keys */
-  gm_conf_notifier_add (VIDEO_CODECS_KEY "enable_video",
-			kind_of_net_changed_nt, NULL);	     
-  gm_conf_notifier_add (VIDEO_CODECS_KEY "maximum_video_tx_bitrate", 
+  gm_conf_notifier_add (VIDEO_CODECS_KEY "maximum_video_tx_bitrate",
 			kind_of_net_changed_nt, NULL);
-  gm_conf_notifier_add (VIDEO_CODECS_KEY "temporal_spatial_tradeoff", 
+  gm_conf_notifier_add (VIDEO_CODECS_KEY "temporal_spatial_tradeoff",
 			kind_of_net_changed_nt, NULL);
 
   return GTK_WIDGET (assistant);



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