aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2007-09-25 23:14:00 +0800
committerChristian Persch <chpe@src.gnome.org>2007-09-25 23:14:00 +0800
commitd45ffbca233cbd1d726769c5c91308df12fb3b29 (patch)
tree9a6bada8f88c16308cc74931da0a631e5f9b24f0
parent2834b5e8bc68d03848bf55ab8f61376c816252eb (diff)
downloadgsoc2013-epiphany-d45ffbca233cbd1d726769c5c91308df12fb3b29.tar.gz
gsoc2013-epiphany-d45ffbca233cbd1d726769c5c91308df12fb3b29.tar.zst
gsoc2013-epiphany-d45ffbca233cbd1d726769c5c91308df12fb3b29.zip
Fix the icon name to use EPHY_STOCK_EPHY
svn path=/trunk/; revision=7490
-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) {