]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window.c
Stub for new command - Open Containing Folder
[evince.git] / shell / ev-window.c
index 89d18d997863c792ca245cf7ebd2140f681f0b63..40fb7000c155e79009d2dc1a173c676c98b03cd3 100644 (file)
@@ -2862,6 +2862,12 @@ ev_window_cmd_save_as (GtkAction *action, EvWindow *ev_window)
        gtk_widget_show (fc);
 }
 
+static void
+ev_window_cmd_open_containing_folder (GtkAction *action, EvWindow *ev_window)
+{
+       /* FIXME */
+}
+
 static GKeyFile *
 get_print_settings_file (void)
 {
@@ -5406,6 +5412,9 @@ static const GtkActionEntry entries[] = {
                { "FileSaveAs", GTK_STOCK_SAVE_AS, N_("_Save a Copy…"), "<control>S",
          N_("Save a copy of the current document"),
          G_CALLBACK (ev_window_cmd_save_as) },
+       { "FileOpenContainingFolder", GTK_STOCK_DIRECTORY, N_("Open Containing _Folder"), NULL,
+         N_("Show the folder which contains this file in the file manager"),
+         G_CALLBACK (ev_window_cmd_open_containing_folder) },
        { "FilePrint", GTK_STOCK_PRINT, N_("_Print…"), "<control>P",
          N_("Print this document"),
          G_CALLBACK (ev_window_cmd_file_print) },