diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 12 | ||||
-rw-r--r-- | src/ephy-history-window.c | 10 |
2 files changed, 14 insertions, 8 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index 940c7595b..a716fd9fa 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -30,7 +30,6 @@ #include <gtk/gtkvbox.h> #include <gdk/gdkkeysyms.h> #include <bonobo/bonobo-i18n.h> -#include <libgnome/gnome-program.h> #include <libgnomeui/gnome-stock-icons.h> #include <string.h> @@ -53,6 +52,7 @@ #include "window-commands.h" #include "ephy-debug.h" #include "ephy-gui.h" +#include "ephy-stock-icons.h" static GtkTargetEntry topic_drag_dest_types [] = { @@ -1114,14 +1114,16 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor) EggMenuMerge *ui_merge; EggActionGroup *action_group; EggAction *action; - const char *icon_path; + GdkPixbuf *icon; int i; gtk_window_set_title (GTK_WINDOW (editor), _("Bookmarks")); - icon_path = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP, - "epiphany-bookmarks.png", TRUE, NULL); - gtk_window_set_icon_from_file (GTK_WINDOW (editor), icon_path, NULL); + icon = gtk_widget_render_icon (GTK_WINDOW (editor), + EPHY_STOCK_BOOKMARKS, + GTK_ICON_SIZE_MENU, + NULL); + gtk_window_set_icon (GTK_WINDOW(editor), icon); g_signal_connect (editor, "delete_event", G_CALLBACK (delete_event_cb), NULL); diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index cd90e330e..9199a034a 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -49,6 +49,7 @@ #include "ephy-stock-icons.h" #include "ephy-gui.h" #include "toolbar.h" +#include "ephy-stock-icons.h" static GtkTargetEntry page_drag_types [] = { @@ -945,13 +946,16 @@ ephy_history_window_construct (EphyHistoryWindow *editor) EggMenuMerge *ui_merge; EggActionGroup *action_group; EggAction *action; - const char *icon_path; + GdkPixbuf *icon; int i; gtk_window_set_title (GTK_WINDOW (editor), _("History")); - icon_path = ephy_file ("epiphany-history.png"); - gtk_window_set_icon_from_file (GTK_WINDOW (editor), icon_path, NULL); + icon = gtk_widget_render_icon (GTK_WINDOW (editor), + EPHY_STOCK_HISTORY, + GTK_ICON_SIZE_MENU, + NULL); + gtk_window_set_icon (GTK_WINDOW(editor), icon); g_signal_connect (editor, "delete_event", G_CALLBACK (delete_event_cb), NULL); |