[ekiga] Remove obsolete enable_video key in schemas
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Remove obsolete enable_video key in schemas
- Date: Sun, 30 May 2010 11:43:54 +0000 (UTC)
commit bd2e18e9a6a4e4bcd63d201d0074e8111bfe4441
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 165de0d..3203c3e 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:
@@ -1647,11 +1642,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]