aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
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 /src/ephy-session.c
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 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index ef46e02a2..1214d9e07 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -34,6 +34,7 @@
#include "ephy-prefs.h"
#include "ephy-gui.h"
#include "ephy-debug.h"
+#include "ephy-stock-icons.h"
#include <glib/gi18n.h>
#include <gtk/gtkmain.h>
@@ -282,7 +283,7 @@ confirm_shutdown_cb (GnomeClient *client,
_("_Abort Downloads"), GTK_RESPONSE_ACCEPT);
gtk_window_set_title (GTK_WINDOW (dialog), "");
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_REJECT);
@@ -617,7 +618,7 @@ session_command_autoresume (EphySession *session,
_("_Recover"), GTK_RESPONSE_ACCEPT);
gtk_window_set_title (GTK_WINDOW (dialog), _("Crash Recovery"));
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY);
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dialog), FALSE);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);