aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/toolbar.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/toolbar.c b/src/toolbar.c
index 5929d718a..eecac5c11 100755
--- a/src/toolbar.c
+++ b/src/toolbar.c
@@ -184,13 +184,6 @@ toolbar_get_action (EphyEditableToolbar *etoolbar,
g_list_foreach (uris, (GFunc)g_free, NULL);
g_list_free (uris);
}
- else if (g_str_has_prefix (name, "GoBookmarkId"))
- {
- if (ephy_str_to_int (name + strlen ("GoBookmarkId"), &id))
- {
- action = get_bookmark_action (t, bookmarks, id);
- }
- }
if (action == NULL)
{
@@ -198,6 +191,14 @@ toolbar_get_action (EphyEditableToolbar *etoolbar,
(parent_class)->get_action (etoolbar, type, name);
}
+ if (action == NULL && g_str_has_prefix (name, "GoBookmarkId"))
+ {
+ if (ephy_str_to_int (name + strlen ("GoBookmarkId"), &id))
+ {
+ action = get_bookmark_action (t, bookmarks, id);
+ }
+ }
+
return action;
}