summaryrefslogtreecommitdiff
path: root/lib/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets')
-rw-r--r--lib/widgets/ephy-location-entry.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index d17680cb1..02d994d0d 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -663,12 +663,16 @@ entry_populate_popup_cb (GtkEntry *entry,
/* Search for the Paste menu item and insert right after it. */
children = gtk_container_get_children (GTK_CONTAINER (menu));
for (item = children, pos = 0; item != NULL; item = item->next, pos++) {
+ /* Translators: Location entry context menu item, must EXACTLY match GtkEntry's translation. */
if (g_strcmp0 (gtk_menu_item_get_label (item->data), _("_Paste")) == 0) {
paste_menuitem = item->data;
break;
}
}
+ if (!paste_menuitem)
+ g_error ("Broken translation, see bug #772994");
+
g_signal_connect (paste_and_go_menuitem, "activate",
G_CALLBACK (entry_paste_and_go_activate_cb), lentry);
lentry->paste_binding = g_object_bind_property (paste_menuitem, "sensitive",