From 01a8d5995716e584f6f3145de6eeed484c29e8a1 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 24 Apr 2014 17:48:09 +0900 Subject: [PATCH] stop being annoying and showing a list of videos ... of 1. --- src/bin/controls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/controls.c b/src/bin/controls.c index 55d6c23..dc433bd 100644 --- a/src/bin/controls.c +++ b/src/bin/controls.c @@ -51,6 +51,8 @@ _cb_options(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *em static void _cb_list_show(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED) { + Inf *inf = evas_object_data_get(data, "inf"); + if (eina_list_count(inf->file_list) <= 1) return; win_list_show(data); }