summaryrefslogtreecommitdiff
path: root/src/nautilus-object-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-object-window.c')
-rw-r--r--src/nautilus-object-window.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nautilus-object-window.c b/src/nautilus-object-window.c
index 47f43eddb..773634e3a 100644
--- a/src/nautilus-object-window.c
+++ b/src/nautilus-object-window.c
@@ -729,6 +729,15 @@ nautilus_window_load_content_view_menu (NautilusWindow *window,
++index;
}
+
+ /* Add "View as ..." extra bonus choice, with separator before it. */
+ menu_item = gtk_menu_item_new ();
+ gtk_widget_show (menu_item);
+ gtk_menu_append (GTK_MENU (new_menu), menu_item);
+ menu_item = gtk_menu_item_new_with_label (_("View as ..."));
+ gtk_widget_show (menu_item);
+ gtk_widget_set_sensitive (menu_item, FALSE); /* doesn't do anything yet */
+ gtk_menu_append (GTK_MENU (new_menu), menu_item);
/*
* We create and attach a new menu here because adding/removing