[ekiga] Select ringing device too when pluging an audio output device



commit bc462f016ed4f726845a7ca69c53b8efe12acc00
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Dec 28 15:13:55 2010 +0100

    Select ringing device too when pluging an audio output device
    
    Fixes partially bug #620795.  This bug was introduced by commit
    28f431b4.

 src/gui/preferences.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/preferences.cpp b/src/gui/preferences.cpp
index fce8c41..8b3fdd1 100644
--- a/src/gui/preferences.cpp
+++ b/src/gui/preferences.cpp
@@ -1258,7 +1258,7 @@ void on_audiooutput_device_added_cb (const Ekiga::AudioOutputDevice & device, bo
   g_return_if_fail (prefs_window != NULL);
   pw = gm_pw_get_pw (prefs_window);
   gnome_prefs_string_option_menu_add (pw->audio_player, (device.GetString()).c_str(), isDesired ? TRUE : FALSE);
-  gnome_prefs_string_option_menu_add (pw->sound_events_output, (device.GetString()).c_str(), FALSE);
+  gnome_prefs_string_option_menu_add (pw->sound_events_output, (device.GetString()).c_str(), isDesired ? TRUE : FALSE);
 }
 
 void on_audiooutput_device_removed_cb (const Ekiga::AudioOutputDevice & device, bool, GtkWidget *prefs_window)



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