From c549ddec4c3d2da5e2b825fc5c3f9f6e9d78c42d Mon Sep 17 00:00:00 2001 From: Serhii Sakhno Date: Sun, 22 Dec 2013 00:09:21 +0000 Subject: [PATCH] Eolite 2.15.2: fixed and small change git-svn-id: svn://kolibrios.org@4395 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/common/File Managers/eolite.ini | 2 +- programs/cmm/eolite/Eolite.c | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/data/common/File Managers/eolite.ini b/data/common/File Managers/eolite.ini index 0bb4c5a13c..b1e739c09b 100644 --- a/data/common/File Managers/eolite.ini +++ b/data/common/File Managers/eolite.ini @@ -96,5 +96,5 @@ SelectionColor=94AECE LineHeight=18 ShowDeviceName=1 RealFileNamesCase=0 -DrwRamDiskSpace=1 +DrwRamDiskSpace=0 diff --git a/programs/cmm/eolite/Eolite.c b/programs/cmm/eolite/Eolite.c index 34c5bbe6b7..e48ccf66e7 100644 --- a/programs/cmm/eolite/Eolite.c +++ b/programs/cmm/eolite/Eolite.c @@ -79,8 +79,8 @@ enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir -#define TITLE "Eolite File Manager v2.15.1" -#define ABOUT_TITLE "Eolite v2.15.1" +#define TITLE "Eolite File Manager v2.15.2" +#define ABOUT_TITLE "Eolite v2.15.2" dword col_padding, col_selec, col_lpanel; int toolbar_buttons_x[7]={9,46,85,134,167,203}; @@ -102,7 +102,7 @@ byte byte rename_active=0, del_active=0, - show_dev_name=1, + show_dev_name=0, drw_ram_disk_space=1, real_files_names_case=0, sort_num=2, @@ -877,8 +877,16 @@ void FnProcess(char N) switch(N) { case 1: - SwitchToAnotherThread(); - about_window=CreateThread(#about_dialog,#about_stak+4092); + if (!active_about) + { + SwitchToAnotherThread(); + about_window=CreateThread(#about_dialog,#about_stak+4092); + break; + } + else + { + ActivateWindow(GetProcessSlot(about_window)); + } break; case 2: if (!files.count) break;