aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-23 03:57:05 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-23 03:57:05 +0800
commit5b8df4b6ad3dc01e291259c5496194517963a31d (patch)
tree4628121dcee4d514594c581cafe741fe8d51df9b
parentd47cf3976d55464087e82ff8e12486a1772aab29 (diff)
downloadgsoc2013-epiphany-5b8df4b6ad3dc01e291259c5496194517963a31d.tar
gsoc2013-epiphany-5b8df4b6ad3dc01e291259c5496194517963a31d.tar.gz
gsoc2013-epiphany-5b8df4b6ad3dc01e291259c5496194517963a31d.tar.bz2
gsoc2013-epiphany-5b8df4b6ad3dc01e291259c5496194517963a31d.tar.lz
gsoc2013-epiphany-5b8df4b6ad3dc01e291259c5496194517963a31d.tar.xz
gsoc2013-epiphany-5b8df4b6ad3dc01e291259c5496194517963a31d.tar.zst
gsoc2013-epiphany-5b8df4b6ad3dc01e291259c5496194517963a31d.zip
Fix add bookmark from link
2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * src/popup-commands.c: (popup_cmd_bookmark_link): Fix add bookmark from link
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/EventContext.cpp4
-rw-r--r--src/popup-commands.c2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f96f8d1d..a5c382fef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org>
+
+ * src/popup-commands.c: (popup_cmd_bookmark_link):
+
+ Fix add bookmark from link
+
2003-06-22 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/mozilla-embed-single.cpp:
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index 5d8e30075..4f518875f 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -365,6 +365,10 @@ nsresult EventContext::GetEventContext (nsIDOMEventTarget *EventTarget,
}
}
}
+ else
+ {
+ SetIntProperty ("link_is_smart", FALSE);
+ }
#ifdef NOT_PORTED
/* Get the text of the link */
info->linktext = mozilla_get_link_text (node);
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 1b2c4d68a..4d37e4e23 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -162,7 +162,7 @@ popup_cmd_bookmark_link (EggAction *action,
{
new_bookmark = ephy_new_bookmark_new
(bookmarks, GTK_WINDOW (window),
- rel ? rel : location);
+ is_smart ? rel : location);
ephy_new_bookmark_set_title
(EPHY_NEW_BOOKMARK (new_bookmark), title);
gtk_widget_show (new_bookmark);