]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix: tray NotfiyDropFiles typo
authorBrandon Cash <brandon@40digits.com>
Sun, 18 Oct 2015 05:32:13 +0000 (00:32 -0500)
committerBrandon Cash <brandon@40digits.com>
Sun, 18 Oct 2015 05:32:13 +0000 (00:32 -0500)
atom/browser/ui/tray_icon.cc
atom/browser/ui/tray_icon.h
atom/browser/ui/tray_icon_cocoa.mm

index 12c6be2ea74e6d4a48f209bc3cf2f1bf1d644581..d2c6bc1b259708f26aed8140809aaf0b875ddc91 100644 (file)
@@ -55,7 +55,7 @@ void TrayIcon::NotifyRightClicked(const gfx::Rect& bounds, int modifiers) {
                     OnRightClicked(bounds, modifiers));
 }
 
-void TrayIcon::NotfiyDropFiles(const std::vector<std::string>& files) {
+void TrayIcon::NotifyDropFiles(const std::vector<std::string>& files) {
   FOR_EACH_OBSERVER(TrayIconObserver, observers_, OnDropFiles(files));
 }
 
index af774ddbfb422d6112f71324498ae905766a8c5c..539fe04f4bb656f8a28a076d45c03e22ac27d8fe 100644 (file)
@@ -61,7 +61,7 @@ class TrayIcon {
   void NotifyBalloonClosed();
   void NotifyRightClicked(const gfx::Rect& bounds = gfx::Rect(),
                           int modifiers = 0);
-  void NotfiyDropFiles(const std::vector<std::string>& files);
+  void NotifyDropFiles(const std::vector<std::string>& files);
 
  protected:
   TrayIcon();
index ec6a6a3e1964158cbc0aabd7bda34b0d27a5e59c..34ca4e9a911245ba927166062e13aeb7e0846700 100644 (file)
@@ -265,7 +265,7 @@ const CGFloat kVerticalTitleMargin = 2;
     NSArray* files = [pboard propertyListForType:NSFilenamesPboardType];
     for (NSString* file in files)
       dropFiles.push_back(base::SysNSStringToUTF8(file));
-    trayIcon_->NotfiyDropFiles(dropFiles);
+    trayIcon_->NotifyDropFiles(dropFiles);
     return YES;
   }
   return NO;