[epiphany] location-entry: Fix position of 'Paste & Go' when non-English locale is used
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] location-entry: Fix position of 'Paste & Go' when non-English locale is used
- Date: Tue, 16 Aug 2016 10:45:39 +0000 (UTC)
commit c0bf21af42f3f2dd1010fa7f2e31b8f22ab7eb4f
Author: Ting-Wei Lan <lantw src gnome org>
Date: Tue Aug 16 16:56:45 2016 +0800
location-entry: Fix position of 'Paste & Go' when non-English locale is used
https://bugzilla.gnome.org/show_bug.cgi?id=765374
lib/widgets/ephy-location-entry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 69a5a00..5ef8eb2 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -649,7 +649,7 @@ 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++) {
- if (g_strcmp0 (gtk_menu_item_get_label (item->data), "_Paste") == 0) {
+ if (g_strcmp0 (gtk_menu_item_get_label (item->data), _("_Paste")) == 0) {
paste_menuitem = item->data;
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]