diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-09 19:49:43 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-09 19:49:43 +0800 |
commit | 50bb5af3f6a571e8e341d26cdd5b7a1b2178d8dd (patch) | |
tree | 4e8a7a54ff0f66f5c611e4cda2cb33138873cb6f /src/bookmarks/ephy-new-bookmark.c | |
parent | 715e6da7a85512491ac612dc5f97e48809ea5b4a (diff) | |
download | gsoc2013-epiphany-50bb5af3f6a571e8e341d26cdd5b7a1b2178d8dd.tar gsoc2013-epiphany-50bb5af3f6a571e8e341d26cdd5b7a1b2178d8dd.tar.gz gsoc2013-epiphany-50bb5af3f6a571e8e341d26cdd5b7a1b2178d8dd.tar.bz2 gsoc2013-epiphany-50bb5af3f6a571e8e341d26cdd5b7a1b2178d8dd.tar.lz gsoc2013-epiphany-50bb5af3f6a571e8e341d26cdd5b7a1b2178d8dd.tar.xz gsoc2013-epiphany-50bb5af3f6a571e8e341d26cdd5b7a1b2178d8dd.tar.zst gsoc2013-epiphany-50bb5af3f6a571e8e341d26cdd5b7a1b2178d8dd.zip |
Get rid of starthere: and default to google, as discussed with Seth. Add a
2003-06-09 Marco Pesenti Gritti <marco@it.gnome.org>
* data/epiphany.schemas.in:
* data/ui/epiphany-bookmark-editor-ui.xml.in:
* embed/ephy-embed-shell.c: (ephy_embed_shell_class_init):
* embed/mozilla/Makefile.am:
* embed/mozilla/MozRegisterComponents.cpp:
* lib/Makefile.am:
* src/bookmarks/ephy-bookmark-action.c: (create_tool_item),
(ephy_bookmark_action_sync_smart_url), (entry_activated_cb),
(activate_cb), (connect_proxy),
(ephy_bookmark_action_set_property),
(ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init),
(sync_bookmark_properties), (ephy_bookmark_action_init):
* src/bookmarks/ephy-bookmark-properties.c:
(location_entry_changed_cb):
* src/bookmarks/ephy-bookmarks-editor.c: (show_properties_dialog),
(add_bookmarks_source_menu), (import_dialog_response_cb),
(cmd_bookmarks_import):
* src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import),
(mozilla_parse_bookmarks), (xbel_parse_folder),
(xbel_parse_bookmarks), (ephy_bookmarks_import_xbel):
* src/bookmarks/ephy-bookmarks-import.h:
* src/bookmarks/ephy-bookmarks.c:
(ephy_bookmarks_autocompletion_source_foreach),
(ephy_bookmarks_init_defaults), (update_topics_list),
(update_has_smart_address), (ephy_bookmarks_add),
(ephy_bookmarks_set_address):
* src/bookmarks/ephy-bookmarks.h:
* src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_finalize),
(ephy_new_bookmark_add), (ephy_new_bookmark_init),
(ephy_new_bookmark_set_title):
* src/bookmarks/ephy-new-bookmark.h:
* src/ephy-shell.c: (ephy_shell_init):
* src/popup-commands.c: (popup_cmd_bookmark_link):
Get rid of starthere: and default to google, as discussed
with Seth.
Add a way to import bookmarks from the editor. (you still
cant specificy a file, that's sort of low priority for me, but
we have a plan on how to do it).
Allow to edit smart bookmarks in the user interface. The address
field is used and when there is a %s, it's considered a smart
url. (like mozilla does it).
Diffstat (limited to 'src/bookmarks/ephy-new-bookmark.c')
-rw-r--r-- | src/bookmarks/ephy-new-bookmark.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c index 69e190ebc..067b48cee 100644 --- a/src/bookmarks/ephy-new-bookmark.c +++ b/src/bookmarks/ephy-new-bookmark.c @@ -54,7 +54,6 @@ struct EphyNewBookmarkPrivate { EphyBookmarks *bookmarks; char *location; - char *smarturl; char *icon; gulong id; @@ -140,7 +139,6 @@ ephy_new_bookmark_finalize (GObject *object) g_return_if_fail (editor->priv != NULL); g_free (editor->priv->location); - g_free (editor->priv->smarturl); g_free (editor->priv->icon); g_free (editor->priv); @@ -160,8 +158,7 @@ ephy_new_bookmark_add (EphyNewBookmark *new_bookmark) title = gtk_editable_get_chars (GTK_EDITABLE (new_bookmark->priv->title_entry), 0, -1); node = ephy_bookmarks_add (new_bookmark->priv->bookmarks, title, - new_bookmark->priv->location, - new_bookmark->priv->smarturl); + new_bookmark->priv->location); new_bookmark->priv->id = ephy_node_get_id (node); ephy_topics_selector_set_bookmark (selector, node); @@ -466,7 +463,6 @@ ephy_new_bookmark_init (EphyNewBookmark *editor) { editor->priv = g_new0 (EphyNewBookmarkPrivate, 1); editor->priv->location = NULL; - editor->priv->smarturl = NULL; editor->priv->icon = NULL; editor->priv->id = 0; } @@ -481,14 +477,6 @@ ephy_new_bookmark_set_title (EphyNewBookmark *bookmark, } void -ephy_new_bookmark_set_smarturl (EphyNewBookmark *bookmark, - const char *url) -{ - g_free (bookmark->priv->smarturl); - bookmark->priv->smarturl = g_strdup (url); -} - -void ephy_new_bookmark_set_icon (EphyNewBookmark *bookmark, const char *icon) { |