parent
ae7ffbd809
commit
7a5d4c6437
|
@ -620,6 +620,8 @@ _next_entry(Ephoto_Flow_Browser *fb)
|
||||||
if (!entry->is_dir)
|
if (!entry->is_dir)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (!entry)
|
||||||
|
entry = _first_entry_find(fb);
|
||||||
if (entry)
|
if (entry)
|
||||||
{
|
{
|
||||||
DBG("next is '%s'", entry->path);
|
DBG("next is '%s'", entry->path);
|
||||||
|
@ -642,6 +644,8 @@ _prev_entry(Ephoto_Flow_Browser *fb)
|
||||||
if (!entry->is_dir)
|
if (!entry->is_dir)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if (!entry)
|
||||||
|
entry = _last_entry_find(fb);
|
||||||
if (entry)
|
if (entry)
|
||||||
{
|
{
|
||||||
DBG("prev is '%s'", entry->path);
|
DBG("prev is '%s'", entry->path);
|
||||||
|
|
Loading…
Reference in New Issue