diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-12-15 22:01:58 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-12-15 22:01:58 +0800 |
commit | 66ccfb8ffa2b566a31151da92ba5aa0881153d15 (patch) | |
tree | 7a47c718f7a7c43e23be2938a60ff2f156c36445 /embed/mozilla/GeckoPrintService.cpp | |
parent | 767012bb0003a3411cf43a1fde70596d55bf2e0a (diff) | |
download | gsoc2013-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/GeckoPrintService.cpp')
-rw-r--r-- | embed/mozilla/GeckoPrintService.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embed/mozilla/GeckoPrintService.cpp b/embed/mozilla/GeckoPrintService.cpp index 5a4ca358f..59a9c3734 100644 --- a/embed/mozilla/GeckoPrintService.cpp +++ b/embed/mozilla/GeckoPrintService.cpp @@ -44,6 +44,7 @@ #include "ephy-file-helpers.h" #include "ephy-gui.h" #include "ephy-prefs.h" +#include "ephy-stock-icons.h" #include "AutoJSContextStack.h" #include "AutoWindowModalState.h" @@ -174,7 +175,7 @@ GeckoPrintService::ShowPrintDialog (nsIDOMWindow *aParent, g_object_unref (custom_tab); g_object_unref (xml); - gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY); int response = gtk_dialog_run (GTK_DIALOG (dialog)); gtk_widget_hide (dialog); @@ -422,7 +423,7 @@ GeckoPrintService::PrintUnattended (nsIDOMWindow *aParent, "%s", _("Preparing to print")); } gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL); - gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser"); + gtk_window_set_icon_name (GTK_WINDOW (dialog), EPHY_STOCK_EPHY); gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); FindPrinterData *data = g_new0 (PrinterData, 1); |