aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/mozilla/GeckoCookiePromptService.cpp3
-rw-r--r--embed/xulrunner/components/GeckoCookiePromptService.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/embed/mozilla/GeckoCookiePromptService.cpp b/embed/mozilla/GeckoCookiePromptService.cpp
index fa33e8bfb..1b32265f5 100644
--- a/embed/mozilla/GeckoCookiePromptService.cpp
+++ b/embed/mozilla/GeckoCookiePromptService.cpp
@@ -34,6 +34,7 @@
#include "ephy-debug.h"
#include "ephy-gui.h"
+#include "ephy-stock-icons.h"
#include "AutoJSContextStack.h"
#include "AutoWindowModalState.h"
@@ -96,7 +97,7 @@ GeckoCookiePromptService::CookieDialog (nsIDOMWindow *aParent,
GtkDialog *gdialog = GTK_DIALOG (dialog);
GtkMessageDialog *message_dialog = GTK_MESSAGE_DIALOG (dialog);
- gtk_window_set_icon_name (window, "web-browser");
+ gtk_window_set_icon_name (window, EPHY_STOCK_EPHY);
gtk_window_set_title (window, _("Accept Cookie?"));
if (aChangingCookie) {
diff --git a/embed/xulrunner/components/GeckoCookiePromptService.cpp b/embed/xulrunner/components/GeckoCookiePromptService.cpp
index 4fc7c21a6..722d9abd8 100644
--- a/embed/xulrunner/components/GeckoCookiePromptService.cpp
+++ b/embed/xulrunner/components/GeckoCookiePromptService.cpp
@@ -34,6 +34,7 @@
#include "ephy-debug.h"
#include "ephy-gui.h"
+#include "ephy-stock-icons.h"
#include "AutoJSContextStack.h"
#include "AutoWindowModalState.h"
@@ -96,7 +97,7 @@ GeckoCookiePromptService::CookieDialog (nsIDOMWindow *aParent,
GtkDialog *gdialog = GTK_DIALOG (dialog);
GtkMessageDialog *message_dialog = GTK_MESSAGE_DIALOG (dialog);
- gtk_window_set_icon_name (window, "web-browser");
+ gtk_window_set_icon_name (window, EPHY_STOCK_EPHY);
gtk_window_set_title (window, _("Accept Cookie?"));
if (aChangingCookie) {