Rename 'Download link destination' to 'Save as'
Fixes: https://bugs.launchpad.net/midori/+bug/699989
This commit is contained in:
parent
b7f8281f77
commit
997db05a9e
1 changed files with 5 additions and 3 deletions
|
@ -2414,7 +2414,7 @@ midori_view_populate_popup (MidoriView* view,
|
||||||
_("Copy Link de_stination"), NULL,
|
_("Copy Link de_stination"), NULL,
|
||||||
G_CALLBACK (midori_web_view_menu_link_copy_activate_cb), widget);
|
G_CALLBACK (midori_web_view_menu_link_copy_activate_cb), widget);
|
||||||
midori_view_insert_menu_item (menu_shell, -1,
|
midori_view_insert_menu_item (menu_shell, -1,
|
||||||
_("_Save Link destination"), NULL,
|
NULL, GTK_STOCK_SAVE_AS,
|
||||||
G_CALLBACK (midori_web_view_menu_save_activate_cb), widget);
|
G_CALLBACK (midori_web_view_menu_save_activate_cb), widget);
|
||||||
if (view->download_manager && *view->download_manager)
|
if (view->download_manager && *view->download_manager)
|
||||||
midori_view_insert_menu_item (menu_shell, -1,
|
midori_view_insert_menu_item (menu_shell, -1,
|
||||||
|
@ -2478,13 +2478,15 @@ midori_view_populate_popup (MidoriView* view,
|
||||||
#if WEBKIT_CHECK_VERSION (1, 1, 3)
|
#if WEBKIT_CHECK_VERSION (1, 1, 3)
|
||||||
/* hack to localize menu item */
|
/* hack to localize menu item */
|
||||||
label = gtk_bin_get_child (GTK_BIN (menuitem));
|
label = gtk_bin_get_child (GTK_BIN (menuitem));
|
||||||
gtk_label_set_label (GTK_LABEL (label), _("_Download Link destination"));
|
GtkStockItem stock_item;
|
||||||
|
if (gtk_stock_lookup (GTK_STOCK_SAVE_AS, &stock_item))
|
||||||
|
gtk_label_set_label (GTK_LABEL (label), stock_item.label);
|
||||||
#else
|
#else
|
||||||
/* hack to disable non-functional Download File */
|
/* hack to disable non-functional Download File */
|
||||||
gtk_widget_hide (menuitem);
|
gtk_widget_hide (menuitem);
|
||||||
gtk_widget_set_no_show_all (menuitem, TRUE);
|
gtk_widget_set_no_show_all (menuitem, TRUE);
|
||||||
midori_view_insert_menu_item (menu_shell, 3,
|
midori_view_insert_menu_item (menu_shell, 3,
|
||||||
_("_Save Link destination"), NULL,
|
NULL, GTK_STOCK_SAVE_AS,
|
||||||
G_CALLBACK (midori_web_view_menu_save_as_activate_cb), widget);
|
G_CALLBACK (midori_web_view_menu_save_as_activate_cb), widget);
|
||||||
#endif
|
#endif
|
||||||
if (view->download_manager && *view->download_manager)
|
if (view->download_manager && *view->download_manager)
|
||||||
|
|
Loading…
Reference in a new issue