comparison src/layout_util.c @ 1652:58a5d1e01e33

run external commands from current directory even with no files
author nadvornik
date Fri, 19 Jun 2009 22:34:52 +0000
parents cc3ccf3c7c27
children 349ebc02b8e2
comparison
equal deleted inserted replaced
1651:8966e72ae99a 1652:58a5d1e01e33
996 996
997 if (!editor_window_flag_set(key)) 997 if (!editor_window_flag_set(key))
998 layout_exit_fullscreen(lw); 998 layout_exit_fullscreen(lw);
999 999
1000 list = layout_selection_list(lw); 1000 list = layout_selection_list(lw);
1001 file_util_start_editor_from_filelist(key, list, lw->window); 1001 file_util_start_editor_from_filelist(key, list, layout_get_path(lw), lw->window);
1002 filelist_free(list); 1002 filelist_free(list);
1003 } 1003 }
1004 1004
1005 #if 0 1005 #if 0
1006 static void layout_menu_edit_update(LayoutWindow *lw) 1006 static void layout_menu_edit_update(LayoutWindow *lw)