From f8ea2a5b2d266759df4d76f4b79cdca277f8721e Mon Sep 17 00:00:00 2001 From: "ajschult%verizon.net" Date: Sat, 22 Sep 2007 03:58:22 +0000 Subject: [PATCH] Fix camino bustage from bug 394346 (hopefully) git-svn-id: svn://10.0.0.236/trunk@236489 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/components/alerts/public/nsIAlertsService.idl | 5 +++-- mozilla/xpfe/components/alerts/src/nsAlertsService.cpp | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) 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;