aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-03-26 07:41:12 +0800
committerChristian Persch <chpe@src.gnome.org>2004-03-26 07:41:12 +0800
commit51dfe1d703d2ea1f613ad68deab3a1926a790de4 (patch)
treeebe67bbc235fe25bd4e836aa8d11677e14e6c3b9
parent42be540e47b88923fc6f1155be3eac3e20ec2d32 (diff)
downloadgsoc2013-epiphany-51dfe1d703d2ea1f613ad68deab3a1926a790de4.tar
gsoc2013-epiphany-51dfe1d703d2ea1f613ad68deab3a1926a790de4.tar.gz
gsoc2013-epiphany-51dfe1d703d2ea1f613ad68deab3a1926a790de4.tar.bz2
gsoc2013-epiphany-51dfe1d703d2ea1f613ad68deab3a1926a790de4.tar.lz
gsoc2013-epiphany-51dfe1d703d2ea1f613ad68deab3a1926a790de4.tar.xz
gsoc2013-epiphany-51dfe1d703d2ea1f613ad68deab3a1926a790de4.tar.zst
gsoc2013-epiphany-51dfe1d703d2ea1f613ad68deab3a1926a790de4.zip
Use stock icon for open. Fixes bug #135765.
2004-03-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: (MIMEConfirmAction): Use stock icon for open. Fixes bug #135765.
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/ContentHandler.cpp3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 426fd0f6b..f58380556 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-03-25 Christian Persch <chpe@cvs.gnome.org>
+ * embed/mozilla/ContentHandler.cpp: (MIMEConfirmAction):
+
+ Use stock icon for open. Fixes bug #135765.
+
+2004-03-25 Christian Persch <chpe@cvs.gnome.org>
+
* embed/ephy-embed.c: (ephy_embed_base_init):
Fix arg type of dom_* signals to match the closure.
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index dd192ef6a..8ae828424 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -41,6 +41,7 @@
#include "ephy-embed-single.h"
#include "ephy-embed-shell.h"
#include "ephy-file-chooser.h"
+#include "ephy-stock-icons.h"
#include "ephy-debug.h"
#include <gtk/gtkimage.h>
@@ -239,7 +240,7 @@ NS_METHOD GContentHandler::MIMEConfirmAction ()
action_label = (mAction == CONTENT_ACTION_OPEN) ||
(mAction == CONTENT_ACTION_OPEN_TMP) ?
- _("_Open") : _("_Download");
+ GTK_STOCK_OPEN : _("_Download");
dialog = gtk_dialog_new_with_buttons
("", parentWindow, GTK_DIALOG_NO_SEPARATOR,