diff --git a/mozilla/xpfe/components/alerts/public/nsIAlertsService.idl b/mozilla/xpfe/components/alerts/public/nsIAlertsService.idl index b8bfdb88777..ce345ca11c7 100644 --- a/mozilla/xpfe/components/alerts/public/nsIAlertsService.idl +++ b/mozilla/xpfe/components/alerts/public/nsIAlertsService.idl @@ -40,7 +40,7 @@ #include "nsISupports.idl" #include "nsIObserver.idl" -[scriptable, uuid(3A3C2953-01EE-4D9C-A102-5AA0D7BD444C)] +[scriptable, uuid(33d256d8-c002-4840-af73-811b2ec20079)] interface nsIAlertsService : nsISupports { /** @@ -70,7 +70,8 @@ interface nsIAlertsService : nsISupports in AString text, in boolean textClickable, in AString cookie, - in nsIObserver alertListener); + in nsIObserver alertListener, + in AString name); }; %{ C++ diff --git a/mozilla/xpfe/components/alerts/src/nsAlertsService.cpp b/mozilla/xpfe/components/alerts/src/nsAlertsService.cpp index 584ba126084..8ba7ea93ce8 100644 --- a/mozilla/xpfe/components/alerts/src/nsAlertsService.cpp +++ b/mozilla/xpfe/components/alerts/src/nsAlertsService.cpp @@ -69,7 +69,8 @@ nsAlertsService::~nsAlertsService() NS_IMETHODIMP nsAlertsService::ShowAlertNotification(const nsAString & aImageUrl, const nsAString & aAlertTitle, const nsAString & aAlertText, PRBool aAlertTextClickable, const nsAString & aAlertCookie, - nsIObserver * aAlertListener) + nsIObserver * aAlertListener, + const nsAString & aAlertName) { nsCOMPtr wwatch(do_GetService(NS_WINDOWWATCHER_CONTRACTID)); nsCOMPtr newWindow;