restore Default tab behaviour
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
b88c9fc0df
commit
73f2fa029d
|
@ -699,7 +699,7 @@ _window_channel_count_update(Channel *chl)
|
|||
int missed = 0, cnt = 0, chl_cnt = 0, n = 0;
|
||||
|
||||
n = eina_list_count(_win->channels);
|
||||
if (n < 1) return;
|
||||
if (n <= 1) return;
|
||||
|
||||
EINA_LIST_FOREACH(_win->channels, l, pchl)
|
||||
{
|
||||
|
@ -730,7 +730,7 @@ _window_network_channels_create(Express_Network *net)
|
|||
Channel *chl;
|
||||
Express_Server *srv;
|
||||
const char *name, *srv_name = NULL;
|
||||
int i = -1;
|
||||
/* int i = -1; */
|
||||
|
||||
/* get the name of this network */
|
||||
name = express_network_name_get(net);
|
||||
|
@ -760,16 +760,16 @@ _window_network_channels_create(Express_Network *net)
|
|||
if (!(chl = _window_channel_create(cfg_chl->name, srv_name)))
|
||||
continue;
|
||||
|
||||
if (i < 0)
|
||||
{
|
||||
/* if (i < 0) */
|
||||
/* { */
|
||||
/* if this is the first channel, swallow it */
|
||||
_window_channel_swallow(chl);
|
||||
/* _window_channel_swallow(chl); */
|
||||
|
||||
/* focus this channel */
|
||||
_window_channel_focus(chl);
|
||||
}
|
||||
/* _window_channel_focus(chl); */
|
||||
/* } */
|
||||
|
||||
i++;
|
||||
/* i++; */
|
||||
}
|
||||
|
||||
break;
|
||||
|
@ -785,7 +785,7 @@ _window_network_channels_create(Express_Network *net)
|
|||
/* _window_channel_destroy("Default"); */
|
||||
/* } */
|
||||
|
||||
_window_channel_count_update(NULL);
|
||||
/* _window_channel_count_update(NULL); */
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue