aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-new-bookmark.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-05 05:18:49 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-05 05:18:49 +0800
commit07e2d63d6a93a572b26ed4d79d3e22a90475a544 (patch)
tree9a9c3314eb052c072ef12f9d90c7df80bb4e184f /src/bookmarks/ephy-new-bookmark.c
parentcfb26886967078899fdd8aefa3560b4626a3d29f (diff)
downloadgsoc2013-epiphany-07e2d63d6a93a572b26ed4d79d3e22a90475a544.tar
gsoc2013-epiphany-07e2d63d6a93a572b26ed4d79d3e22a90475a544.tar.gz
gsoc2013-epiphany-07e2d63d6a93a572b26ed4d79d3e22a90475a544.tar.bz2
gsoc2013-epiphany-07e2d63d6a93a572b26ed4d79d3e22a90475a544.tar.lz
gsoc2013-epiphany-07e2d63d6a93a572b26ed4d79d3e22a90475a544.tar.xz
gsoc2013-epiphany-07e2d63d6a93a572b26ed4d79d3e22a90475a544.tar.zst
gsoc2013-epiphany-07e2d63d6a93a572b26ed4d79d3e22a90475a544.zip
Set window icon.
2004-10-04 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon), (ephy_bookmark_properties_get_node): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct), (duplicate_dialog_construct): * src/ephy-history-window.c: (ephy_history_window_construct): * src/window-commands.c: (window_cmd_edit_toolbar): Set window icon.
Diffstat (limited to 'src/bookmarks/ephy-new-bookmark.c')
-rw-r--r--src/bookmarks/ephy-new-bookmark.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c
index 5897a23d1..2b6aaf03f 100644
--- a/src/bookmarks/ephy-new-bookmark.c
+++ b/src/bookmarks/ephy-new-bookmark.c
@@ -263,8 +263,6 @@ build_editing_table (EphyNewBookmark *editor)
static void
ephy_new_bookmark_construct (EphyNewBookmark *editor)
{
- GdkPixbuf *icon;
-
ephy_state_add_window (GTK_WIDGET(editor),
"new_bookmark",
280, 240,
@@ -272,12 +270,7 @@ ephy_new_bookmark_construct (EphyNewBookmark *editor)
gtk_window_set_title (GTK_WINDOW (editor),
_("Add Bookmark"));
- icon = gtk_widget_render_icon (GTK_WIDGET (editor),
- STOCK_ADD_BOOKMARK,
- GTK_ICON_SIZE_MENU,
- NULL);
- gtk_window_set_icon (GTK_WINDOW (editor), icon);
- g_object_unref(icon);
+ gtk_window_set_icon_name (GTK_WINDOW (editor), STOCK_ADD_BOOKMARK);
gtk_dialog_set_has_separator (GTK_DIALOG (editor), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (editor), 5);
@@ -325,7 +318,9 @@ duplicate_dialog_construct (GtkWindow *parent,
GTK_STOCK_OK,
GTK_RESPONSE_OK,
NULL);
-
+
+ gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 14);