devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/express.git/commit/?id=9ecc43ccd1a6d8fab9e4ac53565569e11b0214c1

commit 9ecc43ccd1a6d8fab9e4ac53565569e11b0214c1
Author: Christopher Michael <devilho...@comcast.net>
Date:   Wed Jan 27 10:25:56 2021 -0500

    express: Create channel bg opject before base object
---
 src/bin/channel.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/bin/channel.c b/src/bin/channel.c
index c3cd335..30c0e1a 100644
--- a/src/bin/channel.c
+++ b/src/bin/channel.c
@@ -174,7 +174,7 @@ _channel_popmedia(Channel *chl, const char *src)
    type = _media_src_type_get(src);
    if (type == MEDIA_TYPE_UNKNOWN)
      {
-        
+
      }
    else
      _channel_popmedia_show(chl, src, type);
@@ -732,13 +732,6 @@ _channel_create(Evas *evas, Evas_Object *win, const char 
*name, const char *serv
    /* store channel server */
    if (server) chl->server = eina_stringshare_add(server);
 
-   /* add base object */
-   chl->o_base = edje_object_add(evas);
-   _theme_apply(chl->o_base, "express/channel");
-   _theme_reload_enable(chl->o_base);
-   evas_object_data_set(chl->o_base, "theme_reload_func", _cb_theme_reload);
-   evas_object_data_set(chl->o_base, "theme_reload_func_data", chl);
-
    /* add bg object */
    chl->o_bg = edje_object_add(evas);
    WEIGHT_SET(chl->o_bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
@@ -748,6 +741,13 @@ _channel_create(Evas *evas, Evas_Object *win, const char 
*name, const char *serv
    evas_object_data_set(chl->o_bg, "theme_reload_func", _cb_theme_reload);
    evas_object_data_set(chl->o_bg, "theme_reload_func_data", chl);
 
+   /* add base object */
+   chl->o_base = edje_object_add(evas);
+   _theme_apply(chl->o_base, "express/channel");
+   _theme_reload_enable(chl->o_base);
+   evas_object_data_set(chl->o_base, "theme_reload_func", _cb_theme_reload);
+   evas_object_data_set(chl->o_base, "theme_reload_func_data", chl);
+
    /* add tabregion */
    if (_ex_cfg->gui.tabs)
      _channel_tabbar_create(chl);

-- 


Reply via email to