adium 2951:9232899b7ef5: For our `WebView`s, use a preferences i...
commits at adium.im
commits at adium.im
Mon Nov 23 20:40:55 UTC 2009
details: http://hg.adium.im/adium/rev/9232899b7ef5
revision: 2951:9232899b7ef5
author: Evan Schoenberg
date: Mon Nov 23 14:41:32 2009 -0600
For our `WebView`s, use a preferences identifier of activeStyle-preferenceGroup. This uniques group chats from one-on-one chats when their preferences are being stored separately. The WebView preference identifier is used only transiently in our usage to allow all WebViews to update when one changes (via the preferences); this doesn't change our actual storage and retrieval of the prefs. Fixes #12810 by implementing Zac's suggestion there.
Subject: adium 2952:7acd7a126901: Whitespace fix
details: http://hg.adium.im/adium/rev/7acd7a126901
revision: 2952:7acd7a126901
author: Evan Schoenberg
date: Mon Nov 23 14:44:17 2009 -0600
Whitespace fix
diffs (25 lines):
diff -r 0348f2c20498 -r 7acd7a126901 Plugins/WebKit Message View/AIWebKitMessageViewController.m
--- a/Plugins/WebKit Message View/AIWebKitMessageViewController.m Mon Nov 23 01:29:41 2009 -0500
+++ b/Plugins/WebKit Message View/AIWebKitMessageViewController.m Mon Nov 23 14:44:17 2009 -0600
@@ -352,7 +352,8 @@
activeStyle = [[[messageStyle bundle] bundleIdentifier] retain];
preferenceGroup = [[plugin preferenceGroupForChat:chat] retain];
- [webView setPreferencesIdentifier:activeStyle];
+ [webView setPreferencesIdentifier:[NSString stringWithFormat:@"%@-%@",
+ activeStyle, preferenceGroup]];
//Get the prefered variant (or the default if a prefered is not available)
activeVariant = [[adium.preferenceController preferenceForKey:[plugin styleSpecificKey:@"Variant" forStyle:activeStyle]
diff -r 0348f2c20498 -r 7acd7a126901 Source/AIBorderlessListWindowController.m
--- a/Source/AIBorderlessListWindowController.m Mon Nov 23 01:29:41 2009 -0500
+++ b/Source/AIBorderlessListWindowController.m Mon Nov 23 14:44:17 2009 -0600
@@ -60,8 +60,6 @@
return YES;
}
-
-
/*!
* @brief Show the filter bar
*
More information about the commits
mailing list