mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-05 21:34:17 +01:00
- Saving a domain file will first strip all entries that are also present in
the global domain as well and are exactly the same. This fixes a bug where settings from the global domain file were merged in the user domain file and further changes in the global domain file for those merged values was ignored making a system admin unable to set global defaults for all users using the global domains. - Fixed bug with not extracting the icon from the client when using shared appicons. - Added WMSubtractPLDictionaries() to WINGs (opposite for merging, it will remove all entries from dest if they are present in source and are exactly the same. Unique entries in dest and entries with different values from those present in source will be preserved).
This commit is contained in:
@@ -769,12 +769,18 @@ void WMPutInPLDictionary(WMPropList *plist, WMPropList *key, WMPropList *value);
|
||||
|
||||
void WMRemoveFromPLDictionary(WMPropList *plist, WMPropList *key);
|
||||
|
||||
/* It inserts all key/value pairs from source into dest, overwriting
|
||||
/* It will insert all key/value pairs from source into dest, overwriting
|
||||
* the values with the same keys from dest, keeping all values with keys
|
||||
* only present in dest unchanged */
|
||||
WMPropList* WMMergePLDictionaries(WMPropList *dest, WMPropList *source,
|
||||
Bool recursive);
|
||||
|
||||
/* It will remove all key/value pairs from dest for which there is an
|
||||
* identical key/value present in source. Entires only present in dest, or
|
||||
* which have different values in dest than in source will be preserved. */
|
||||
WMPropList* WMSubtractPLDictionaries(WMPropList *dest, WMPropList *source,
|
||||
Bool recursive);
|
||||
|
||||
int WMGetPropListItemCount(WMPropList *plist);
|
||||
|
||||
Bool WMIsPLString(WMPropList *plist);
|
||||
|
||||
Reference in New Issue
Block a user