aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-editor.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-03-25 04:56:19 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-03-25 04:56:19 +0800
commit5edfc6d1d2c7ba42be2463c1609b8c1482e32799 (patch)
tree74388ceb578125708c7e76af034e58e2de381206 /src/bookmarks/ephy-bookmarks-editor.c
parent53a85cd93b24a7fd98a7ae205fd9e20a4d54e71a (diff)
downloadgsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.gz
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.bz2
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.lz
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.xz
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.tar.zst
gsoc2013-epiphany-5edfc6d1d2c7ba42be2463c1609b8c1482e32799.zip
Dont put special keywords in the topics list. Use ephy-state for size of
2003-03-24 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/bookmarks/ephy-topics-selector.c: (fill_model): * src/bookmarks/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/bookmarks/ephy-tree-model-node.h: Dont put special keywords in the topics list. Use ephy-state for size of all bookmarks dialogs.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-editor.c')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 558469981..b4cc80a16 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -39,6 +39,7 @@
#include "egg-action-group.h"
#include "egg-menu-merge.h"
#include "popup-commands.h"
+#include "ephy-state.h"
static void ephy_bookmarks_editor_class_init (EphyBookmarksEditorClass *klass);
static void ephy_bookmarks_editor_init (EphyBookmarksEditor *editor);
@@ -570,8 +571,12 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
const char *icon_path;
int i;
+ ephy_state_add_window (GTK_WIDGET(editor),
+ "bookmarks_editor",
+ 450, 400);
+
gtk_window_set_title (GTK_WINDOW (editor), _("Bookmarks"));
-
+
icon_path = ephy_file ("epiphany-bookmarks.png");
gtk_window_set_icon_from_file (GTK_WINDOW (editor), icon_path, NULL);
@@ -595,8 +600,9 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
egg_menu_merge_insert_action_group (ui_merge,
action_group, 0);
egg_menu_merge_add_ui_from_file (ui_merge,
- ephy_file ("epiphany-bookmark-editor-ui.xml"),
- NULL);
+ ephy_file ("epiphany-bookmark-editor-ui.xml"),
+ NULL);
+ gtk_window_add_accel_group (GTK_WINDOW (editor), ui_merge->accel_group);
egg_menu_merge_ensure_update (ui_merge);
editor->priv->ui_merge = ui_merge;
editor->priv->action_group = action_group;