adium 4693:bf8c73879199: Make sure the list has been cleared bef...
commits at adium.im
commits at adium.im
Fri Feb 17 00:22:38 UTC 2012
details: http://hg.adium.im/adium/rev/bf8c73879199
revision: 4693:bf8c73879199
branch: (none)
author: Thijs Alkemade <thijsalkemade at gmail.com>
date: Fri Feb 17 01:22:27 2012 +0100
Make sure the list has been cleared before the values are read, otherwise libpurple will think the original selection was still active, causing changes not to apply.
Fixes #15629
diffs (12 lines):
diff -r a04d8ed2bbc3 -r bf8c73879199 Plugins/Purple Service/AMPurpleRequestFieldsController.m
--- a/Plugins/Purple Service/AMPurpleRequestFieldsController.m Wed Feb 15 18:11:33 2012 +0100
+++ b/Plugins/Purple Service/AMPurpleRequestFieldsController.m Fri Feb 17 01:22:27 2012 +0100
@@ -318,6 +318,8 @@
children:[NSArray arrayWithObject:list]
attributes:[NSArray arrayWithObject:[NSXMLNode attributeWithName:@"class" stringValue:@"input"]]]];
+ purple_request_field_list_clear_selected(field);
+
return result;
}
More information about the commits
mailing list