Commit 0ec5e09a authored by Cosimo Cecchi's avatar Cosimo Cecchi

actions: remove unused UpAccel action

parent e9588a57
......@@ -30,8 +30,6 @@
#define NAUTILUS_ACTION_RELOAD "Reload"
#define NAUTILUS_ACTION_BACK "Back"
#define NAUTILUS_ACTION_UP "Up"
#define NAUTILUS_ACTION_UP_ACCEL "UpAccel"
#define NAUTILUS_ACTION_UP_ACCEL "UpAccel"
#define NAUTILUS_ACTION_FORWARD "Forward"
#define NAUTILUS_ACTION_SHOW_HIDE_SIDEBAR "Show Hide Sidebar"
#define NAUTILUS_ACTION_SHOW_HIDE_LOCATION_BAR "Show Hide Location Bar"
......
......@@ -450,12 +450,9 @@ static const GtkActionEntry main_entries[] = {
N_("Prefere_nces"),
NULL, N_("Edit Nautilus preferences"),
G_CALLBACK (action_preferences_callback) },
/* name, stock id, label */ { "Up", GTK_STOCK_GO_UP, N_("Open _Parent"),
/* name, stock id, label */ { NAUTILUS_ACTION_UP, GTK_STOCK_GO_UP, N_("Open _Parent"),
"<alt>Up", N_("Open the parent folder"),
G_CALLBACK (action_up_callback) },
/* name, stock id, label */ { "UpAccel", NULL, "UpAccel",
"", NULL,
G_CALLBACK (action_up_callback) },
/* name, stock id */ { "Stop", GTK_STOCK_STOP,
/* label, accelerator */ N_("_Stop"), NULL,
/* tooltip */ N_("Stop loading the current location"),
......
......@@ -1571,9 +1571,6 @@ nautilus_window_sync_up_button (NautilusWindow *window)
action = gtk_action_group_get_action (action_group,
NAUTILUS_ACTION_UP);
gtk_action_set_sensitive (action, allowed);
action = gtk_action_group_get_action (action_group,
NAUTILUS_ACTION_UP_ACCEL);
gtk_action_set_sensitive (action, allowed);
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment