cocoawebview 0.3.12 → 0.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/cocoawebview/cocoawebview.m +5 -9
- data/lib/cocoawebview/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b99958f5f5331f8902bf5b2e36829992c752d1d1137c79c8a40dac5b532abee
|
4
|
+
data.tar.gz: 0a4efac1c163db618cb3de595b19df6103865600ad713b1e1234b6267d668819
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fdaa37347f271bc56bfe6c910b60092a8931ffbd3fb256cb192d591d01f29604b73ab1f9afc01ae0bb8a6fcbb8320a5080b9d090d70dd66d46969e5ccc779f8
|
7
|
+
data.tar.gz: 83aa2369a6615c8295ea31759988f6a5ddfa66420c42ca4ae229425aad882d6d785f8b429c19cfc4ff4fa5d1513e18f55b080a5d2f6cffeb8fa2edbe1f84580f
|
@@ -104,19 +104,15 @@ VALUE webview_set_bg(VALUE self, VALUE r, VALUE g, VALUE b, VALUE a);
|
|
104
104
|
app = a;
|
105
105
|
}
|
106
106
|
|
107
|
-
|
108
|
-
- (void)applicationDidBecomeActive:(NSNotification *)notification {
|
107
|
+
- (void)appBecameActive:(NSNotification *)notification {
|
109
108
|
rb_funcall(app, rb_intern("dock_did_click"), 0);
|
110
109
|
}
|
111
|
-
*/
|
112
|
-
|
113
|
-
|
114
|
-
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag {
|
115
|
-
rb_funcall(app, rb_intern("dock_did_click"), 0);
|
116
|
-
return YES;
|
117
|
-
}
|
118
110
|
|
119
111
|
- (void)applicationDidFinishLaunching:(NSNotification *)notification {
|
112
|
+
[[NSNotificationCenter defaultCenter] addObserver:self
|
113
|
+
selector:@selector(appBecameActive:)
|
114
|
+
name:NSApplicationDidBecomeActiveNotification
|
115
|
+
object:nil];
|
120
116
|
rb_funcall(app, rb_intern("app_did_launch"), 0);
|
121
117
|
}
|
122
118
|
@end
|
data/lib/cocoawebview/version.rb
CHANGED