rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=2cad2b17fbd80f6317f0668d7a3ea131bab91a1e

commit 2cad2b17fbd80f6317f0668d7a3ea131bab91a1e
Author: Mykyta Biliavskyi <[email protected]>
Date:   Fri Oct 21 18:10:41 2016 +0300

    Shortctus: make shortcut help dialog to use genlist.
    
    Make the same behaviour as in Tizen theme. This prepare UI to add
    ability for change shortcuts.
---
 data/themes/default/widgets/layout.edc | 11 +++++++++++
 src/bin/ui/main_window.c               |  4 ++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/data/themes/default/widgets/layout.edc 
b/data/themes/default/widgets/layout.edc
index 068150f..1d11d3f 100644
--- a/data/themes/default/widgets/layout.edc
+++ b/data/themes/default/widgets/layout.edc
@@ -2034,6 +2034,17 @@ group { name: "elm/layout/property/tween";
       }
    }
 }
+group { name: "elm/layout/shortcuts/default";
+   parts {
+     part { name: "elm.swallow.content";
+         type: SWALLOW;
+         description { state: "default" 0.0;
+            min: 400 420;
+         }
+      }
+   }
+}
+
 
 #include "layouts/manager.edc"
 #include "layouts/colorclass_manager.edc"
diff --git a/src/bin/ui/main_window.c b/src/bin/ui/main_window.c
index 023e2f3..f906466 100644
--- a/src/bin/ui/main_window.c
+++ b/src/bin/ui/main_window.c
@@ -240,7 +240,7 @@ about_window_add(void)
 
 #endif
 
-#if !HAVE_TIZEN
+#if 0
 
 static Evas_Object *
 _shortcuts_window_content_get(void *data, Evas_Object *popup __UNUSED__, 
Evas_Object **to_focus __UNUSED__)
@@ -438,7 +438,7 @@ shortcuts_window_add(void)
 {
    Evas_Object *content = elm_box_add(ap.win);
 
-   evas_object_size_hint_min_set(content, 420, 460);
+   evas_object_size_hint_min_set(content, 400, 460);
 
    popup_add(_("Help: shortcuts"), NULL, BTN_OK, 
_shortcuts_window_content_get, content);
    return NULL;

-- 


Reply via email to