Subversion Repositories Kolibri OS

Rev

Rev 8332 | Rev 8490 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8332 Rev 8457
Line 144... Line 144...
144
	DeleteButton(TAB_ID + tab.count-1);
144
	DeleteButton(TAB_ID + tab.count-1);
145
	if (_id == tab.active) {
145
	if (_id == tab.active) {
146
		tab.close(_id);
146
		tab.close(_id);
147
		tab.restore(tab.active);
147
		tab.restore(tab.active);
148
		WB1.ParseHtml(WB1.bufpointer, WB1.bufsize);
148
		SetElementSizes();
-
 
149
		WB1.ParseHtml(WB1.bufpointer, WB1.bufsize);
149
		WB1.DrawPage();
150
		WB1.DrawPage();
150
		SetOmniboxText(history.current());
151
		SetOmniboxText(history.current());
151
	} else {
152
	} else {
152
		tab.close(_id);
153
		tab.close(_id);
153
	}
154
	}
Line 164... Line 165...
164
	if (_id>=tab.count) _id = 0;
165
	if (_id>=tab.count) _id = 0;
165
	if (_id==-1) _id = tab.count-1;
166
	if (_id==-1) _id = tab.count-1;
166
	tab.save_state();
167
	tab.save_state();
167
	tab.restore(_id);
168
	tab.restore(_id);
168
	if (!BrowserWidthChanged()) {
169
	DrawTabsBar();
169
		DrawTabsBar();
-
 
170
		WB1.ParseHtml(WB1.bufpointer, WB1.bufsize);
170
	SetElementSizes();
-
 
171
	WB1.ParseHtml(WB1.bufpointer, WB1.bufsize);
171
		WB1.DrawPage();		
172
	WB1.DrawPage();		
172
	}
173
	SetOmniboxText(history.current());
173
	SetOmniboxText(history.current());
-
 
174
}
174
}
175
 
175
 
Line 176... Line 176...
176
void EventOpenNewTab(dword _url)
176
void EventOpenNewTab(dword _url)
177
{
177
{