зеркало из https://github.com/mozilla/gecko-dev.git
Bug 122000 - "Moz apps require restart to pick up highlight color changes in System Preferences" [r+sr=roc]
This commit is contained in:
Родитель
e3cab97337
Коммит
a99e4a04e0
|
@ -2249,9 +2249,13 @@ NSEvent* gLastDragEvent = nil;
|
|||
kCorePboardType_urln,
|
||||
nil]];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(controlTintChanged)
|
||||
selector:@selector(systemColorChanged)
|
||||
name:NSControlTintDidChangeNotification
|
||||
object:nil];
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(systemColorChanged)
|
||||
name:NSSystemColorsDidChangeNotification
|
||||
object:nil];
|
||||
|
||||
return self;
|
||||
|
||||
|
@ -2323,7 +2327,7 @@ NSEvent* gLastDragEvent = nil;
|
|||
}
|
||||
|
||||
|
||||
- (void)controlTintChanged
|
||||
- (void)systemColorChanged
|
||||
{
|
||||
if (!mGeckoChild)
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче