Remove references to deprecated GTK_STOCK_* (#298)
This commit is contained in:
parent
1820d0db69
commit
116bfc2ac1
|
@ -708,7 +708,7 @@ fill_combo_model (XedFileBrowserWidget *obj)
|
||||||
GtkTreeIter iter;
|
GtkTreeIter iter;
|
||||||
GdkPixbuf *icon;
|
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_append (store, &iter, NULL);
|
||||||
gtk_tree_store_set (store, &iter,
|
gtk_tree_store_set (store, &iter,
|
||||||
|
@ -801,7 +801,7 @@ static const GtkActionEntry tree_actions_sensitive[] =
|
||||||
|
|
||||||
static const GtkToggleActionEntry tree_actions_toggle[] =
|
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},
|
N_("Show hidden files and folders"), G_CALLBACK (on_action_filter_hidden), FALSE},
|
||||||
{"FilterBinary", NULL, N_("Show _Binary"), NULL,
|
{"FilterBinary", NULL, N_("Show _Binary"), NULL,
|
||||||
N_("Show binary files"), G_CALLBACK (on_action_filter_binary), FALSE}
|
N_("Show binary files"), G_CALLBACK (on_action_filter_binary), FALSE}
|
||||||
|
|
|
@ -159,7 +159,7 @@ static const GtkToggleActionEntry xed_always_sensitive_toggle_menu_entries[] =
|
||||||
{ "ViewStatusbar", NULL, N_("_Statusbar"), NULL,
|
{ "ViewStatusbar", NULL, N_("_Statusbar"), NULL,
|
||||||
N_("Show or hide the statusbar in the current window"),
|
N_("Show or hide the statusbar in the current window"),
|
||||||
G_CALLBACK (_xed_cmd_view_show_statusbar), TRUE },
|
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"),
|
N_("Edit text in fullscreen"),
|
||||||
G_CALLBACK (_xed_cmd_view_toggle_fullscreen_mode), FALSE },
|
G_CALLBACK (_xed_cmd_view_toggle_fullscreen_mode), FALSE },
|
||||||
{ "ViewWordWrap", NULL, N_("_Word wrap"), NULL,
|
{ "ViewWordWrap", NULL, N_("_Word wrap"), NULL,
|
||||||
|
|
Loading…
Reference in New Issue