Remove references to deprecated GTK_STOCK_* (#298)

This commit is contained in:
Stephen Collins 2019-05-13 01:32:34 -06:00 committed by JosephMcc
parent 1820d0db69
commit 116bfc2ac1
2 changed files with 3 additions and 3 deletions

View File

@ -708,7 +708,7 @@ fill_combo_model (XedFileBrowserWidget *obj)
GtkTreeIter iter;
GdkPixbuf *icon;
icon = xed_file_browser_utils_pixbuf_from_theme (GTK_STOCK_HOME, GTK_ICON_SIZE_MENU);
icon = xed_file_browser_utils_pixbuf_from_theme ("go-home", GTK_ICON_SIZE_MENU);
gtk_tree_store_append (store, &iter, NULL);
gtk_tree_store_set (store, &iter,
@ -801,7 +801,7 @@ static const GtkActionEntry tree_actions_sensitive[] =
static const GtkToggleActionEntry tree_actions_toggle[] =
{
{"FilterHidden", GTK_STOCK_DIALOG_AUTHENTICATION, N_("Show _Hidden"), NULL,
{"FilterHidden", NULL, N_("Show _Hidden"), NULL,
N_("Show hidden files and folders"), G_CALLBACK (on_action_filter_hidden), FALSE},
{"FilterBinary", NULL, N_("Show _Binary"), NULL,
N_("Show binary files"), G_CALLBACK (on_action_filter_binary), FALSE}

View File

@ -159,7 +159,7 @@ static const GtkToggleActionEntry xed_always_sensitive_toggle_menu_entries[] =
{ "ViewStatusbar", NULL, N_("_Statusbar"), NULL,
N_("Show or hide the statusbar in the current window"),
G_CALLBACK (_xed_cmd_view_show_statusbar), TRUE },
{ "ViewFullscreen", GTK_STOCK_FULLSCREEN, NULL, "F11",
{ "ViewFullscreen", "view-fullscreen", N_("Fullscreen"), "F11",
N_("Edit text in fullscreen"),
G_CALLBACK (_xed_cmd_view_toggle_fullscreen_mode), FALSE },
{ "ViewWordWrap", NULL, N_("_Word wrap"), NULL,