aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-new-bookmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-new-bookmark.c')
-rw-r--r--src/bookmarks/ephy-new-bookmark.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c
index ac5c68c3f..116870c55 100644
--- a/src/bookmarks/ephy-new-bookmark.c
+++ b/src/bookmarks/ephy-new-bookmark.c
@@ -27,6 +27,7 @@
#include <libgnome/gnome-i18n.h>
#include "ephy-new-bookmark.h"
+#include "ephy-state.h"
#include "ephy-topics-selector.h"
#include "ephy-debug.h"
#include "ephy-stock-icons.h"
@@ -231,12 +232,16 @@ ephy_new_bookmark_construct (EphyNewBookmark *editor)
{
GdkPixbuf *icon;
+ ephy_state_add_window (GTK_WIDGET(editor),
+ "new_bookmark",
+ 280, 240);
+
gtk_window_set_title (GTK_WINDOW (editor),
_("New Bookmark"));
- icon = gtk_widget_render_icon (GTK_WIDGET (editor),
- EPHY_STOCK_BOOKMARK_PAGE,
- GTK_ICON_SIZE_MENU,
- NULL);
+ icon = gtk_widget_render_icon (GTK_WIDGET (editor),
+ EPHY_STOCK_BOOKMARK_PAGE,
+ GTK_ICON_SIZE_MENU,
+ NULL);
gtk_window_set_icon (GTK_WINDOW (editor), icon);
g_object_unref(icon);