pidgin: 5df840eb: vvconfig: Stop resetting device selecti...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Tue Dec 28 06:10:32 EST 2010


----------------------------------------------------------------------
Revision: 5df840eb0e8bf63e750a5c6051fcd8b657822bb5
Parent:   a1debeea512ab90391be1034e483aaa5523f4e63
Author:   jakub.adam at ktknet.cz
Date:     12/28/10 06:09:22
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5df840eb0e8bf63e750a5c6051fcd8b657822bb5

Changelog: 

vvconfig:  Stop resetting device selections to defaults.  Fixes #13044.

Changes against parent a1debeea512ab90391be1034e483aaa5523f4e63

  patched  ChangeLog
  patched  pidgin/plugins/vvconfig.c

-------------- next part --------------
============================================================
--- ChangeLog	e3b276eebe971152d32d78f811ed793acaafebf7
+++ ChangeLog	055d159f4c5c585b2847425ed268a82d954ea804
@@ -2,12 +2,16 @@ version 2.7.10 (??/??/????):
 
 version 2.7.10 (??/??/????):
 	libpurple:
-	* Stop sending audio when placing a call on hold (Jakub Adam) (#13032)
+	* Stop sending audio when placing a call on hold. (Jakub Adam) (#13032)
 
 	Pidgin:
 	* Support using the Page Up and Page Down keys on the numeric keypad in
 	  the conversation window.  (Ryan Flegel) (#13127)
 
+	Plugins:
+	* The Voice/Video Settings plugin no longer resets selected devices to
+	  defaults. (Jakub Adam) (#13044)
+
 version 2.7.9 (12/26/2010):
 	MSN:
 	* Fix a crash when receiving short packets related to P2Pv2. (CVE ID
============================================================
--- pidgin/plugins/vvconfig.c	8b0f74aa3afb0513332079d10d8cb2c0ff845baf
+++ pidgin/plugins/vvconfig.c	15234500a592a78e85a7acd074641eaa8eaac2c8
@@ -273,7 +273,8 @@ get_plugin_frame(GtkWidget *parent, GtkS
 
 	/* Setup device preference */
 	devices = get_element_devices(purple_prefs_get_string(plugin_pref));
-	if (g_list_find(devices, purple_prefs_get_string(device_pref)) == NULL)
+	if (g_list_find_custom(devices, purple_prefs_get_string(device_pref),
+			(GCompareFunc) strcmp) == NULL)
 		purple_prefs_set_string(device_pref, g_list_next(devices)->data);
 	widget = pidgin_prefs_dropdown_from_list(vbox, device_label,
 			PURPLE_PREF_STRING, device_pref, devices);


More information about the Commits mailing list