|
|
FRWindow *window = data; | FRWindow *window = data; |
GtkTreeSelection *selection; | GtkTreeSelection *selection; |
| |
/* FIXME: uncomment after freeze |
|
if (event->window != gtk_tree_view_get_bin_window (GTK_TREE_VIEW (window->list_view))) | if (event->window != gtk_tree_view_get_bin_window (GTK_TREE_VIEW (window->list_view))) |
return FALSE; | return FALSE; |
*/ |
|
| |
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (window->list_view)); | selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (window->list_view)); |
if (selection == NULL) | if (selection == NULL) |
|
|
FRWindow *window = data; | FRWindow *window = data; |
GtkTreeSelection *selection; | GtkTreeSelection *selection; |
| |
/* FIXME: uncomment after freeze |
|
if (event->window != gtk_tree_view_get_bin_window (GTK_TREE_VIEW (window->list_view))) | if (event->window != gtk_tree_view_get_bin_window (GTK_TREE_VIEW (window->list_view))) |
return FALSE; | return FALSE; |
*/ |
|
| |
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (window->list_view)); | selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (window->list_view)); |
if (selection == NULL) | if (selection == NULL) |
|
|
| |
fr_process_begin_command (proc, cdata->command); | fr_process_begin_command (proc, cdata->command); |
for (scan = cdata->file_list; scan; scan = scan->next) { | for (scan = cdata->file_list; scan; scan = scan->next) { |
char *filename = scan->data; |
char *filename = shell_escape (scan->data); |
fr_process_add_arg (proc, filename); | fr_process_add_arg (proc, filename); |
|
g_free (filename); |
} | } |
fr_process_end_command (proc); | fr_process_end_command (proc); |
| |
|
|
uris = g_list_prepend (uris, gnome_vfs_get_uri_from_local_path (filename)); | uris = g_list_prepend (uris, gnome_vfs_get_uri_from_local_path (filename)); |
} | } |
| |
|
command_list = g_list_prepend (command_list, cdata); |
gnome_vfs_mime_application_launch (cdata->app, uris); | gnome_vfs_mime_application_launch (cdata->app, uris); |
| |
path_list_free (uris); | path_list_free (uris); |
|
|
"/", | "/", |
file, | file, |
NULL); | NULL); |
cdata->file_list = g_list_prepend (cdata->file_list, |
cdata->file_list = g_list_prepend (cdata->file_list, filename); |
shell_escape (filename)); |
|
g_free (filename); |
|
} | } |
| |
g_signal_connect (G_OBJECT (window->archive), | g_signal_connect (G_OBJECT (window->archive), |