diff options
Diffstat (limited to 'src/nautilus-view.c')
-rw-r--r-- | src/nautilus-view.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/nautilus-view.c b/src/nautilus-view.c index a890dcc72..00eb61049 100644 --- a/src/nautilus-view.c +++ b/src/nautilus-view.c @@ -1821,15 +1821,6 @@ action_new_folder_callback (GtkAction *action, } static void -action_new_folder_with_selection_callback (GtkAction *action, - gpointer callback_data) -{ - g_assert (NAUTILUS_IS_VIEW (callback_data)); - - nautilus_view_new_folder (NAUTILUS_VIEW (callback_data), TRUE); -} - -static void action_properties_callback (GtkAction *action, gpointer callback_data) { @@ -6650,10 +6641,6 @@ static const GtkActionEntry directory_view_entries[] = { /* label, accelerator */ N_("New _Folder"), "<control><shift>N", /* tooltip */ N_("Create a new empty folder inside this folder"), G_CALLBACK (action_new_folder_callback) }, - /* name, stock id */ { NAUTILUS_ACTION_NEW_FOLDER_WITH_SELECTION, NULL, - /* label, accelerator */ N_("New Folder with Selection"), NULL, - /* tooltip */ N_("Create a new folder containing the selected items"), - G_CALLBACK (action_new_folder_with_selection_callback) }, /* name, stock id */ { NAUTILUS_ACTION_OPEN, NULL, /* label, accelerator */ N_("_Open"), "<control>o", /* tooltip */ N_("Open the selected item in this window"), @@ -7817,17 +7804,6 @@ real_update_menus (NautilusView *view) gtk_action_set_visible (action, !selection_contains_recent); action = gtk_action_group_get_action (view->details->dir_action_group, - NAUTILUS_ACTION_NEW_FOLDER_WITH_SELECTION); - gtk_action_set_sensitive (action, can_create_files && can_delete_files && (selection_count > 1)); - gtk_action_set_visible (action, !selection_contains_recent && (selection_count > 1)); - label_with_underscore = g_strdup_printf (ngettext("New Folder with Selection (%'d Item)", - "New Folder with Selection (%'d Items)", - selection_count), - selection_count); - g_object_set (action, "label", label_with_underscore, NULL); - g_free (label_with_underscore); - - action = gtk_action_group_get_action (view->details->dir_action_group, NAUTILUS_ACTION_OPEN); gtk_action_set_sensitive (action, selection_count != 0); |