Title: [189379] trunk/Tools
Revision
189379
Author
[email protected]
Date
2015-09-04 13:47:33 -0700 (Fri, 04 Sep 2015)

Log Message

Modifications to the webkit-nightly logic.
        
* WebKitLauncher/WebKitNightlyEnablerSparkle.m:
(updateAlertPanel):
* WebKitLauncher/main.m:
(displayErrorAndQuit):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (189378 => 189379)


--- trunk/Tools/ChangeLog	2015-09-04 20:24:47 UTC (rev 189378)
+++ trunk/Tools/ChangeLog	2015-09-04 20:47:33 UTC (rev 189379)
@@ -1,3 +1,12 @@
+2015-09-04  Lucas Forschler  <[email protected]>
+
+        Modifications to the webkit-nightly logic.
+        
+        * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
+        (updateAlertPanel):
+        * WebKitLauncher/main.m:
+        (displayErrorAndQuit):
+
 2015-09-04  Beth Dakin  <[email protected]>
 
         Speculative build fix.

Modified: trunk/Tools/WebKitLauncher/WebKitNightlyEnablerSparkle.m (189378 => 189379)


--- trunk/Tools/WebKitLauncher/WebKitNightlyEnablerSparkle.m	2015-09-04 20:24:47 UTC (rev 189378)
+++ trunk/Tools/WebKitLauncher/WebKitNightlyEnablerSparkle.m	2015-09-04 20:47:33 UTC (rev 189379)
@@ -47,8 +47,9 @@
 {
     NSString *hostName = objc_msgSend(host, @selector(name));
     NSPanel *panel = NSGetInformationalAlertPanel([NSString stringWithFormat:@"Would you like to download and install %@ %@ now?", hostName, objc_msgSend(updateItem, @selector(displayVersionString))],
-                                                  [NSString stringWithFormat:@"You are currently running %@ %@.", hostName, objc_msgSend(host, @selector(displayVersion))],
-                                                  @"Install Update", @"Skip This Version", @"Remind Me Later");
+                                                  @"%@",
+                                                  @"Install Update", @"Skip This Version", @"Remind Me Later",
+                                                  [NSString stringWithFormat:@"You are currently running %@ %@.", hostName, objc_msgSend(host, @selector(displayVersion))]);
     NSArray *subviews = [[panel contentView] subviews];
     NSEnumerator *e = [subviews objectEnumerator];
     NSView *view;

Modified: trunk/Tools/WebKitLauncher/main.m (189378 => 189379)


--- trunk/Tools/WebKitLauncher/main.m	2015-09-04 20:24:47 UTC (rev 189378)
+++ trunk/Tools/WebKitLauncher/main.m	2015-09-04 20:47:33 UTC (rev 189379)
@@ -47,7 +47,7 @@
 static void displayErrorAndQuit(NSString *title, NSString *message)
 {
     NSApplicationLoad();
-    NSRunCriticalAlertPanel(title, message, @"Quit", nil, nil);
+    NSRunCriticalAlertPanel(title, @"%@", @"Quit", nil, nil, message);
     exit(0);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to