Re: emelfm2 for gtk+-2.2

David Jensen wrote:
> and here is another, not bzip'd


Oops forgot to attach!
diff -Naur emelfm2-0.0.7/src/e2_main.c emelfm2-0.0.7.new/src/e2_main.c
--- emelfm2-0.0.7/src/e2_main.c 2004-03-18 15:26:59.000000000 -0600
+++ emelfm2-0.0.7.new/src/e2_main.c     2005-01-19 19:38:08.434330384 -0600
@@ -213,7 +213,7 @@
        //gtk initialization
        check_locale ();
        printd (DEBUG, "gtk init");
-       gtk_init (NULL, NULL);
+       gtk_init (&argc, &argv);
 
        //some local init stuff
        e2_option_init ();
diff -Naur emelfm2-0.0.7/src/e2_pane.c emelfm2-0.0.7.new/src/e2_pane.c
--- emelfm2-0.0.7/src/e2_pane.c 2004-03-18 09:04:12.000000000 -0600
+++ emelfm2-0.0.7.new/src/e2_pane.c     2005-01-19 18:11:56.000000000 -0600
@@ -93,6 +93,7 @@
        app.pane_current = tmp;
        clist_select_rows (tmp->view->clist, tmp->view->old_selection);
        switch_views ();
+       chdir (tmp->view->dir);
        gtk_widget_grab_focus (tmp->focus_widget);
 }
 

Other related posts: