[PATCH] Make make_dir dialog show up always.

  • From: "Maarten Maathuis" <madman2003@xxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Sun, 2 Mar 2008 01:20:06 +0100

Sometimes the make_dir dialog stays empty (the border and background
exists, but the rest not), until it moves or is resized, i found a way
to avoid this. I'm not sure if this is the right way.

Maarten.
Index: src/dialogs/e2_mkdir_dialog.c
===================================================================
--- src/dialogs/e2_mkdir_dialog.c       (revision 814)
+++ src/dialogs/e2_mkdir_dialog.c       (working copy)
@@ -974,7 +974,7 @@
 //     _e2_mkdirdlg_update_follow_dir (rt, e2_option_bool_get_direct 
(follow_pane));
 
        gdk_threads_enter ();
-       e2_dialog_show (rt->dialog, app.main_window, E2_DIALOG_DONT_SHOW_ALL,
+       e2_dialog_show (rt->dialog, app.main_window, 0,
                &E2_BUTTON_CANCEL, &E2_BUTTON_CREATE, &E2_BUTTON_OK, NULL);
        gdk_threads_leave ();
        //do this after showing, to reduce repitition

Other related posts:

  • » [PATCH] Make make_dir dialog show up always.