diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-05 22:50:05 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-05 22:50:05 +0800 |
commit | 86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d (patch) | |
tree | bdcd9d0909a1fe35f02b3a5a76b147f7cb15cb88 /src/bookmarks/ephy-bookmarks.c | |
parent | b3b66a73fca6da255a313862b68a147ec7fcf707 (diff) | |
download | gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.tar.gz gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.tar.zst gsoc2013-epiphany-86fe205bedd65bbc15d6f2bcbbabeb8cf7e9582d.zip |
Rewrite sensitivity code. Should take in account focus now.
2003-04-05 Marco Pesenti Gritti <marco@it.gnome.org>
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_update_menu),
(ephy_bookmarks_editor_node_selected_cb), (view_focus_cb),
(keyword_node_selected_cb), (build_search_box),
(ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_init):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_add_keyword):
* src/bookmarks/ephy-node-view.c: (ephy_node_view_has_selection):
* src/bookmarks/ephy-node-view.h:
Rewrite sensitivity code. Should take in account focus now.
* src/ephy-window.c: (ephy_window_show):
Remove some unused code.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index 7441057d3..cd159994d 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -733,6 +733,12 @@ ephy_bookmarks_add_keyword (EphyBookmarks *eb, &value); g_value_unset (&value); + g_value_init (&value, G_TYPE_INT); + g_value_set_int (&value, EPHY_BOOKMARKS_KEYWORD_NORMAL_PRIORITY); + ephy_node_set_property (key, EPHY_NODE_KEYWORD_PROP_PRIORITY, + &value); + g_value_unset (&value); + ephy_node_add_child (eb->priv->keywords, key); return key; |