Re: Wrong context menu

Thanks.

> set windows-right-click=true. Then open a new emelfm2 program. Right
> click on a file (e.g. a PDF file) without clicking left before on that
> item.
> 
> The wrong context menu is displayed (I think it's the directory context
> menu). It seems so that context menus are updated only on left click.
> But that makes the option a bit useless.
This one is easy to fix ...

--- src/e2_fileview.c   2005-12-03 13:18:39.000000000 +1100
+++ src/e2_fileview.c   2006-01-05 10:16:18.000000000 +1100
@@ -816,5 +820,6 @@
                                        gtk_tree_selection_unselect_all (sel);
                                gtk_tree_selection_select_path (sel, path);
-//                             view->row = *gtk_tree_path_get_indices (path); 
NOW IN CURSOR MOVE CB
+                               //do this now because menu created before 
cursor-move cb
+                               view->row = *gtk_tree_path_get_indices (path);
                                gtk_tree_path_free (path);
                        }

Regards
Tom


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: