aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks-editor.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-01-25 06:20:54 +0800
committerChristian Persch <chpe@src.gnome.org>2006-01-25 06:20:54 +0800
commit3ca9a4923aa2aad1c33faa3033f0d8748cd2c69b (patch)
tree07f246e1451013fb1647bd5f76683eae74e1409f /src/bookmarks/ephy-bookmarks-editor.c
parent6ba78f4bcb58c02bd4b6b41757eeeab3af2fbf6e (diff)
downloadgsoc2013-epiphany-3ca9a4923aa2aad1c33faa3033f0d8748cd2c69b.tar
gsoc2013-epiphany-3ca9a4923aa2aad1c33faa3033f0d8748cd2c69b.tar.gz
gsoc2013-epiphany-3ca9a4923aa2aad1c33faa3033f0d8748cd2c69b.tar.bz2
gsoc2013-epiphany-3ca9a4923aa2aad1c33faa3033f0d8748cd2c69b.tar.lz
gsoc2013-epiphany-3ca9a4923aa2aad1c33faa3033f0d8748cd2c69b.tar.xz
gsoc2013-epiphany-3ca9a4923aa2aad1c33faa3033f0d8748cd2c69b.tar.zst
gsoc2013-epiphany-3ca9a4923aa2aad1c33faa3033f0d8748cd2c69b.zip
Refactored, code cleanups. Don't make the bookmark properties window
2006-01-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (bookmark_properties_close_cb), (bookmark_properties_response_cb), (update_entry), (update_window_title), (combo_changed_cb), (title_entry_changed_cb), (location_entry_changed_cb), (set_window_icon), (ephy_bookmark_properties_init), (ephy_bookmark_properties_constructor), (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (ephy_bookmark_properties_class_init), (ephy_bookmark_properties_get_type), (ephy_bookmark_properties_new): * src/bookmarks/ephy-bookmark-properties.h: Refactored, code cleanups. Don't make the bookmark properties window transient. * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmark_properties): * src/bookmarks/ephy-bookmarks-ui.c: (activate_bookmark_properties), (activate_bookmark_open_tab), (activate_bookmark_open_window), (selected_bookmark_action), (erase_bookmarks_menu), (tree_changed_cb), (node_added_cb), (node_changed_cb), (node_removed_cb), (ephy_bookmarks_ui_attach_window), (properties_dialog_destroy_cb), (add_bookmark), (duplicate_bookmark_response_cb), (ephy_bookmarks_ui_add_bookmark), (add_topic_changed_cb), (add_topic_response_cb), (ephy_bookmarks_ui_add_topic), (ephy_bookmarks_ui_show_bookmark): * src/bookmarks/ephy-bookmarks-ui.h: Cleanups. Make the New Topic dialogue modal to the bookmark properties window. Change some strings, don't unnecessarily use markup when constructing a message dialog. 2006-01-24 Christian Persch <chpe@cvs.gnome.org>
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-editor.c')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 655d8ae2b..e3cb8fa1c 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -469,13 +469,6 @@ cmd_delete (GtkAction *action,
}
}
-static void
-show_properties_dialog (EphyBookmarksEditor *editor,
- EphyNode *bookmark)
-{
- ephy_bookmarks_ui_show_bookmark (GTK_WIDGET (editor), bookmark);
-}
-
static GSList *
add_bookmarks_files (const char *dir,
const char *filename,
@@ -909,7 +902,8 @@ cmd_bookmark_properties (GtkAction *action,
for (l = selection; l; l = l->next)
{
EphyNode *node = l->data;
- show_properties_dialog (editor, node);
+
+ ephy_bookmarks_ui_show_bookmark (node);
}
g_list_free (selection);