diff --git a/data/common/File Managers/icons.ini b/data/common/File Managers/icons.ini index 8c5f4c27e8..f2f4725a5f 100644 --- a/data/common/File Managers/icons.ini +++ b/data/common/File Managers/icons.ini @@ -160,6 +160,7 @@ csv=21 xls=21 xlsx=21 nes=23 +sna=23 bat=24 sh=24 sys=25 diff --git a/data/common/icons32.png b/data/common/icons32.png index d7d7d6d93e..38b5ee721a 100644 Binary files a/data/common/icons32.png and b/data/common/icons32.png differ diff --git a/programs/cmm/browser/TWB/TWB.c b/programs/cmm/browser/TWB/TWB.c index 04e2e37aaa..e3dfaf4504 100644 --- a/programs/cmm/browser/TWB/TWB.c +++ b/programs/cmm/browser/TWB/TWB.c @@ -124,7 +124,7 @@ void TWebBrowser::SetPageDefaults() style.tag_list.reset(); link_color_default = 0x0000FF; link_color_active = 0xFF0000; - page_bg = 0xFFFFFF; + page_bg = 0xEBE8E9; //E0E3E3 EBE8E9 style.bg_color = page_bg; DrawBuf.Fill(0, page_bg); links.clear(); @@ -457,6 +457,7 @@ void TWebBrowser::SetStyle() { strlcpy(#img_path, value, sizeof(img_path)-1); get_absolute_url(#img_path, history.current()); + //if (check_is_the_adress_local(#img_path)) <== load local files if (cache.has(#img_path)) { img_decode stdcall (cache.current_buf, cache.current_size, 0); diff --git a/programs/cmm/browser/WebView.c b/programs/cmm/browser/WebView.c index 0e0983da11..d81553d129 100644 --- a/programs/cmm/browser/WebView.c +++ b/programs/cmm/browser/WebView.c @@ -42,7 +42,7 @@ // DATA // // // //===================================================// -char version[]="WebView 2.8 BETA 3"; +char version[]="WebView 2.8 BETA 4"; #define DEFAULT_URL URL_SERVICE_HOMEPAGE @@ -421,7 +421,7 @@ void EventAllTabsClick(dword _n) EventTabClose(_n); } else { EventTabClick(_n); - } + } } void EventEditSource() @@ -451,7 +451,6 @@ void StopLoading() { if (http.stop()) pause(10); prbar.value = 0; - DrawOmnibox(); } //rewrite into @@ -893,6 +892,8 @@ void DrawOmnibox() void SetOmniboxText(dword _text) { edit_box_set_text stdcall (#omnibox_edit, _text); + omnibox_edit.pos = omnibox_edit.flags = 0; + DrawOmnibox(); } dword GetAbsoluteActiveURL() diff --git a/programs/cmm/browser/cache.h b/programs/cmm/browser/cache.h index 984f6d3f1f..fd118f28d7 100644 --- a/programs/cmm/browser/cache.h +++ b/programs/cmm/browser/cache.h @@ -48,6 +48,7 @@ void _cache::clear() url.drop(); data.drop(); size.drop(); + type.drop(); current_buf = NULL; current_size = NULL; } \ No newline at end of file