aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GtkNSSDialogs.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-12-15 22:01:58 +0800
committerChristian Persch <chpe@src.gnome.org>2006-12-15 22:01:58 +0800
commit66ccfb8ffa2b566a31151da92ba5aa0881153d15 (patch)
tree7a47c718f7a7c43e23be2938a60ff2f156c36445 /embed/mozilla/GtkNSSDialogs.cpp
parent767012bb0003a3411cf43a1fde70596d55bf2e0a (diff)
downloadgsoc2013-epiphany-66ccfb8ffa2b566a31151da92ba5aa0881153d15.tar
gsoc2013-epiphany-66ccfb8ffa2b566a31151da92ba5aa0881153d15.tar.gz
gsoc2013-epiphany-66ccfb8ffa2b566a31151da92ba5aa0881153d15.tar.bz2
gsoc2013-epiphany-66ccfb8ffa2b566a31151da92ba5aa0881153d15.tar.lz
gsoc2013-epiphany-66ccfb8ffa2b566a31151da92ba5aa0881153d15.tar.xz
gsoc2013-epiphany-66ccfb8ffa2b566a31151da92ba5aa0881153d15.tar.zst
gsoc2013-epiphany-66ccfb8ffa2b566a31151da92ba5aa0881153d15.zip
Use a define for the default window icon. Bug #385872.
2006-12-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-module.c: * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): * lib/ephy-spell-check.c: * lib/ephy-stock-icons.h: * lib/widgets/.cvsignore: * lib/widgets/ephy-spinner-tool-item.c: (ephy_spinner_tool_item_toolbar_reconfigured): * lib/widgets/testspinner.c: * plugins/desktop-file/plugin.cpp: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-history-window.c: (confirmation_dialog_construct): * src/ephy-main.c: (main): * src/ephy-session.c: (confirm_shutdown_cb), (session_command_autoresume): * src/ephy-shell.c: (ephy_shell_add_sidebar_cb): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/ephy-window.c: (construct_confirm_close_dialog): * src/pdm-dialog.c: (pdm_dialog_init): * src/window-commands.c: (window_cmd_help_about): Use a define for the default window icon. Bug #385872. * lib/ephy-module.c: The symbol can be NULL even though the symbol lookup succeeded.
Diffstat (limited to 'embed/mozilla/GtkNSSDialogs.cpp')
-rw-r--r--embed/mozilla/GtkNSSDialogs.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp
index ddf14848f..d7c5df20b 100644
--- a/embed/mozilla/GtkNSSDialogs.cpp
+++ b/embed/mozilla/GtkNSSDialogs.cpp
@@ -86,6 +86,7 @@
#include "ephy-file-helpers.h"
#include "ephy-gui.h"
#include "ephy-password-dialog.h"
+#include "ephy-stock-icons.h"
#include "AutoJSContextStack.h"
#include "AutoWindowModalState.h"
@@ -253,7 +254,7 @@ display_cert_warning_box (nsIInterfaceRequestor *ctx,
}
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
higgy_setup_dialog (GTK_DIALOG (dialog),
GTK_STOCK_DIALOG_WARNING, &label, &vbox);
@@ -591,7 +592,7 @@ GtkNSSDialogs::NotifyCrlNextupdate (nsIInterfaceRequestor *ctx,
"needs to be updated.\n\n"
"Please ask your system administrator for assistance."),
NS_ConvertUTF16toUTF8 (commonName).get ());
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
g_signal_connect (dialog, "response",
(GCallback) gtk_widget_destroy, NULL);
@@ -633,7 +634,7 @@ GtkNSSDialogs::ConfirmDownloadCACert(nsIInterfaceRequestor *ctx,
GTK_WINDOW (dialog));
}
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_WARNING,
&label, NULL);
@@ -714,7 +715,7 @@ GtkNSSDialogs::NotifyCACertExists (nsIInterfaceRequestor *ctx)
GTK_WINDOW (dialog));
}
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
higgy_setup_dialog (GTK_DIALOG (dialog), GTK_STOCK_DIALOG_ERROR,
&label, NULL);
@@ -882,7 +883,7 @@ GtkNSSDialogs::CrlImportStatusDialog(nsIInterfaceRequestor *ctx, nsICRLInfo *crl
GTK_STOCK_OK, GTK_RESPONSE_OK,
(char *) NULL);
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
gtk_window_set_title (GTK_WINDOW (dialog), _("Certificate Revocation List Imported"));
/* Needed because gparent == NULL always because of mozilla sucks */
@@ -1229,7 +1230,7 @@ GtkNSSDialogs::ViewCert(nsIInterfaceRequestor *ctx,
gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE);
}
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
gtk_window_set_title (GTK_WINDOW (dialog), _("Certificate Properties"));
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
@@ -1580,7 +1581,7 @@ GtkNSSDialogs::ChooseToken (nsIInterfaceRequestor *aContext,
GTK_BUTTONS_CANCEL,
_("Please select a token:"));
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
GtkWidget *combo = gtk_combo_box_new_text ();
for (PRUint32 i = 0; i < count; ++i) {
@@ -1667,7 +1668,7 @@ GtkNSSDialogs::ConfirmKeyEscrow (nsIX509Cert *aEscrowAuthority,
"It is strongly recommended not to allow it."),
NS_ConvertUTF16toUTF8 (commonName).get ());
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
GtkWidget *button = gtk_dialog_add_button (GTK_DIALOG (dialog),
_("_Reject"),