Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7551 → Rev 7550

/programs/cmm/appearance/appearance.c
1,5 → 1,5
//11.03.12 - start!
//ver 2.21
//ver 2.2
 
#ifndef AUTOBUILD
?include "lang.h--"
53,7 → 53,6
 
char folder_path[4096];
char cur_file_path[4096];
char cur_skin_path[4096];
char temp_filename[4096];
int files_mas[400];
 
94,7 → 93,7
 
EventTabClick(SKINS);
 
SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER);
SetEventMask(0x27);
loop() switch(WaitEvent())
{
case evMouse:
116,7 → 115,7
 
case evButton:
id=GetButtonID();
if (id==1) EventExit();
if (id==1) ExitProcess();
if (id==SKINS) EventTabClick(SKINS);
if (id==WALLPAPERS) EventTabClick(WALLPAPERS);
if (id==BTN_SELECT_WALLP_FOLDER) EventSelectWallpFolder();
357,17 → 356,16
EventSetNewCurrent();
if (tabs.active_tab==SKINS)
{
draw_window();
cur = select_list.cur_y;
SetSystemSkin(#cur_file_path);
strcpy(#cur_skin_path, #cur_file_path);
SaveSkinSettings(#cur_file_path);
}
if (tabs.active_tab==WALLPAPERS)
{
SelectList_Draw();
strcpy(#kivpath, "\\S__");
strcat(#kivpath, #cur_file_path);
RunProgram("/sys/media/kiv", #kivpath);
SelectList_Draw();
}
}
 
377,10 → 375,4
if (tabs.active_tab==WALLPAPERS) RunProgram("/sys/media/kiv", #cur_file_path);
}
 
void EventExit()
{
ExitProcess();
SaveSkinSettings(#cur_skin_path);
}
 
stop:
/programs/cmm/eolite/Eolite.c
563,8 → 563,7
GetProcessInfo(#Form, SelfInfo);
if (Form.status_window>2) return;
if (Form.height < 350) { MoveSize(OLD,OLD,OLD,350); return; }
if (!two_panels.checked) && (Form.width < 480) { MoveSize(OLD,OLD,480,OLD); return; }
if ( two_panels.checked) && (Form.width < 573) { MoveSize(OLD,OLD,573,OLD); return; }
if (Form.width < 480) { MoveSize(OLD,OLD,480,OLD); return; }
GetProcessInfo(#Form, SelfInfo);
ESDWORD[#toolbar_pal] = col_work;
ESDWORD[#toolbar_pal+4] = MixColors(0, col_work, 35);
640,7 → 639,7
{
llist_copy(#files, #files_inactive);
strcpy(#path, #inactive_path);
col_selec = 0xCCCccc; //this is a bad code: need to use some var to set inactive panel for DrawList();
col_selec = 0xCCCccc;
files.SetSizes(Form.cwidth/2, files_y, Form.cwidth/2 -17, Form.cheight-files_y-2 - status_bar_h, files.item_h);
DrawList();
Open_Dir(#path,WITH_REDRAW);
701,7 → 700,7
Scroll();
 
if (del_active) Del_Form();
if (new_element_active) && (col_selec != 0xCCCccc) NewElement_Form(new_element_active, #new_element_name);
if (new_element_active) NewElement_Form(new_element_active, #new_element_name);
}
 
 
/programs/cmm/eolite/include/translations.h
1,5 → 1,5
#define TITLE "Eolite File Manager 4.05"
#define ABOUT_TITLE "EOLITE 4.05"
#define TITLE "Eolite File Manager 4.04a"
#define ABOUT_TITLE "EOLITE 4.04a"
 
#ifdef LANG_RUS
?define T_FILE "” ©«"