[ekiga/ds-gsettings3] GSettings: Ported remaining int_option_menu to GSettings.



commit f4c6453cee234a5d27eb283fe9d5c7fe0e5fdc09
Author: Damien Sandras <dsandras beip be>
Date:   Sun Nov 10 18:30:43 2013 +0100

    GSettings: Ported remaining int_option_menu to GSettings.

 lib/engine/gui/gtk-frontend/preferences-window.cpp |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/preferences-window.cpp 
b/lib/engine/gui/gtk-frontend/preferences-window.cpp
index 4165345..9d0914a 100644
--- a/lib/engine/gui/gtk-frontend/preferences-window.cpp
+++ b/lib/engine/gui/gtk-frontend/preferences-window.cpp
@@ -847,7 +847,9 @@ gm_pw_init_h323_page (GtkWidget *prefs_window,
   subsection = gnome_prefs_subsection_new (prefs_window, container,
                                 _("DTMF Mode"), 1, 4);
 
-  gnome_prefs_int_option_menu_new (subsection, _("_Send DTMF as:"), capabilities, H323_KEY "dtmf_mode", 
_("Select the mode for DTMFs sending"), 0);
+  gm_pw_int_option_menu_new (subsection, _("_Send DTMF as:"), capabilities,
+                            pw->h323_settings, "dtmf-mode",
+                            _("Select the mode for DTMFs sending"), 0);
 }
 
 
@@ -886,7 +888,9 @@ gm_pw_init_sip_page (GtkWidget *prefs_window,
   subsection = gnome_prefs_subsection_new (prefs_window, container,
                                 _("DTMF Mode"), 1, 1);
 
-  gnome_prefs_int_option_menu_new (subsection, _("_Send DTMF as:"), capabilities, SIP_KEY "dtmf_mode", 
_("Select the mode for DTMFs sending"), 0);
+  gm_pw_int_option_menu_new (subsection, _("_Send DTMF as:"), capabilities,
+                            pw->sip_settings, "dtmf-mode",
+                            _("Select the mode for DTMFs sending"), 0);
 }
 
 


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