e_table -> elm_table conversion
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 13 Jan 2015 00:24:52 +0000 (19:24 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 14 Jan 2015 03:44:55 +0000 (22:44 -0500)
if rebases were monopoly money, this commit would be able to buy mediterranean ave.

 #teamborker

62 files changed:
po/POTFILES.in
src/bin/Makefile.mk
src/bin/e_config_dialog.c
src/bin/e_desktop_editor.c
src/bin/e_exec.c
src/bin/e_fm_prop.c
src/bin/e_includes.h
src/bin/e_int_client_prop.c
src/bin/e_int_client_remember.c
src/bin/e_int_config_comp.c
src/bin/e_int_config_comp_match.c
src/bin/e_int_config_modules.c
src/bin/e_int_gadcon_config.c
src/bin/e_int_shelf_config.c
src/bin/e_table.c [deleted file]
src/bin/e_table.h [deleted file]
src/bin/e_widget_config_list.c
src/bin/e_widget_csel.c
src/bin/e_widget_filepreview.c
src/bin/e_widget_frametable.c
src/bin/e_widget_fsel.c
src/bin/e_widget_table.c
src/bin/e_widget_table.h
src/bin/e_widget_toolbook.c
src/modules/backlight/e_mod_main.c
src/modules/battery/e_mod_config.c
src/modules/clock/e_mod_config.c
src/modules/clock/e_mod_main.c
src/modules/conf_applications/e_int_config_apps.c
src/modules/conf_applications/e_int_config_apps_personal.c
src/modules/conf_applications/e_int_config_defapps.c
src/modules/conf_bindings/e_int_config_acpibindings.c
src/modules/conf_bindings/e_int_config_edgebindings.c
src/modules/conf_bindings/e_int_config_keybindings.c
src/modules/conf_bindings/e_int_config_mousebindings.c
src/modules/conf_bindings/e_int_config_signalbindings.c
src/modules/conf_dialogs/e_int_config_profiles.c
src/modules/conf_display/e_int_config_desklock.c
src/modules/conf_display/e_int_config_desklock_fsel.c
src/modules/conf_intl/e_int_config_imc.c
src/modules/conf_intl/e_int_config_intl.c
src/modules/conf_paths/e_int_config_env.c
src/modules/conf_paths/e_int_config_paths.c
src/modules/conf_performance/e_int_config_powermanagement.c
src/modules/conf_shelves/e_int_config_shelf.c
src/modules/conf_theme/e_int_config_fonts.c
src/modules/conf_theme/e_int_config_scale.c
src/modules/conf_theme/e_int_config_theme.c
src/modules/conf_theme/e_int_config_transitions.c
src/modules/conf_theme/e_int_config_wallpaper.c
src/modules/everything/evry_config.c
src/modules/gadman/e_mod_config.c
src/modules/ibar/e_mod_config.c
src/modules/lokker/lokker.c
src/modules/mixer/conf_gadget.c
src/modules/mixer/e_mod_main.c
src/modules/packagekit/e_mod_packagekit.c
src/modules/pager/e_mod_main.c
src/modules/pager_plain/e_mod_main.c
src/modules/quickaccess/e_mod_config.c
src/modules/teamwork/e_mod_config.c
src/modules/xkbswitch/e_mod_config.c

index 975d222..0f5a6b5 100644 (file)
@@ -90,7 +90,6 @@ src/bin/e_start_main.c
 src/bin/e_startup.c
 src/bin/e_sys.c
 src/bin/e_sys_main.c
-src/bin/e_table.c
 src/bin/e_test.c
 src/bin/e_theme.c
 src/bin/e_theme_about.c
index cb34f36..c3a552f 100644 (file)
@@ -153,7 +153,6 @@ src/bin/e_slidesel.h \
 src/bin/e_spectrum.h \
 src/bin/e_startup.h \
 src/bin/e_sys.h \
-src/bin/e_table.h \
 src/bin/e_test.h \
 src/bin/e_theme_about.h \
 src/bin/e_theme.h \
@@ -318,7 +317,6 @@ src/bin/e_slidesel.c \
 src/bin/e_spectrum.c \
 src/bin/e_startup.c \
 src/bin/e_sys.c \
-src/bin/e_table.c \
 src/bin/e_test.c \
 src/bin/e_theme_about.c \
 src/bin/e_theme.c \
index 8e60ffe..969c348 100644 (file)
@@ -173,13 +173,22 @@ _e_config_dialog_free(E_Config_Dialog *cfd)
 }
 
 static void
+_e_config_hints(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+{
+   int w, h;
+
+   edje_object_size_min_calc(data, &w, &h);
+   evas_object_size_hint_min_set(data, w, h);
+}
+
+static void
 _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
 {
    Evas *evas;
    E_Dialog *pdia;
    Evas_Object *o, *ob, *sf;
-   Evas_Coord mw = 0, mh = 0;
    char buf[256];
+   int mw = -1, mh = -1;
    void *cfdata;
 
    pdia = cfd->dia;
@@ -269,8 +278,9 @@ _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
           }
      }
 
-   e_widget_size_min_get(o, &mw, &mh);
+   evas_object_event_callback_add(o, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _e_config_hints, cfd->dia->bg_object);
    e_widget_on_change_hook_set(o, _e_config_dialog_cb_changed, cfd);
+   e_widget_size_min_get(o, &mw, &mh);
    e_dialog_content_set(cfd->dia, o, mw, mh);
 
    if (!pdia) /* dialog window was created in this function call - need to create buttons once */
index bc2d020..c75e4f5 100644 (file)
@@ -702,7 +702,7 @@ _e_desktop_edit_basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas
 
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    o = e_widget_label_add(evas, _("Name"));
    e_widget_table_object_append(ot, o, 0, 0, 1, 1, 1, 1, 0, 0);
@@ -750,7 +750,7 @@ _e_desktop_edit_basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas
 
    /* e_widget_size_min_get(ol, &mw, &mh); */
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    editor->img_widget = e_widget_button_add
        (evas, "", NULL, _e_desktop_editor_cb_icon_select, cfdata, editor);
@@ -770,7 +770,7 @@ _e_desktop_edit_basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas
    e_widget_toolbook_page_append
      (otb, NULL, _("Icon"), ot, 0, 0, 0, 0, 0.5, 0.5);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    o = e_widget_label_add(evas, _("Generic Name"));
    e_widget_table_object_append(ot, o, 0, 0, 1, 1, 1, 1, 0, 0);
index a1140b0..09e8526 100644 (file)
@@ -1076,7 +1076,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_D
    _fill_data(cfdata);
 
    o = e_widget_list_add(evas, 0, 0);
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    ob = e_widget_label_add(evas, cfdata->label);
    e_widget_list_object_append(o, ob, 1, 1, 0.5);
index 5b1da9a..e6ea7ba 100644 (file)
@@ -384,9 +384,9 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
    win = cfd->dia->win;
    snprintf(buf, sizeof(buf), "%s/%s",
             cfdata->location, cfdata->fi->file);
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    ob = e_widget_label_add(evas, _("Name:"));
    e_widget_table_object_append(ot, ob, 0, 0, 1, 1, 1, 0, 1, 0);
@@ -480,7 +480,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
 
    of = e_widget_frametable_add(evas, _("Preview"), 0);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    ob = e_widget_preview_add(evas, 128, 128);
    cfdata->gui.preview = ob;
    cfdata->gui.preview_table = ot;
@@ -572,7 +572,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
    /* generate the core widget layout for an advanced dialog */
    Evas_Object *o;
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    return o;
 }
 
index 12d3590..a39351e 100644 (file)
@@ -30,7 +30,6 @@
 #include "e_startup.h"
 #include "e_signals.h"
 #include "e_xinerama.h"
-#include "e_table.h"
 #include "e_layout.h"
 #include "e_font.h"
 #include "e_intl.h"
index 27f0aa4..7ef85f0 100644 (file)
@@ -444,7 +444,7 @@ _ec_icccm_create(E_Dialog *dia, void *data __UNUSED__)
    evas = evas_object_evas_get(dia->win);
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    STR_ENTRY(_("Title"), 0, 0, icccm.title);
    STR_ENTRY(_("Name"), 0, 1, icccm.name);
    STR_ENTRY(_("Class"), 0, 2, icccm.class);
@@ -453,14 +453,14 @@ _ec_icccm_create(E_Dialog *dia, void *data __UNUSED__)
    STR_ENTRY(_("Role"), 0, 5, icccm.role);
    e_widget_toolbook_page_append(otb, NULL, _("General"), o, 1, 1, 1, 1, 0.5, 0.0);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    STR_ENTRY(_("Minimum Size"), 0, 6, icccm.min);
    STR_ENTRY(_("Maximum Size"), 0, 7, icccm.max);
    STR_ENTRY(_("Base Size"), 0, 8, icccm.base);
    STR_ENTRY(_("Resize Steps"), 0, 9, icccm.step);
    e_widget_toolbook_page_append(otb, NULL, _("Sizing"), o, 1, 1, 1, 1, 0.5, 0.0);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    STR_ENTRY(_("Aspect Ratio"), 2, 0, icccm.aspect);
    STR_ENTRY(_("Initial State"), 2, 1, icccm.initial_state);
    STR_ENTRY(_("State"), 2, 2, icccm.state);
@@ -472,7 +472,7 @@ _ec_icccm_create(E_Dialog *dia, void *data __UNUSED__)
    STR_ENTRY(_("Command"), 2, 8, icccm.command);
    e_widget_toolbook_page_append(otb, NULL, _("States"), o, 1, 1, 1, 1, 0.5, 0.0);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    CHK_ENTRY(_("Take Focus"), 0, 11, icccm.take_focus);
    CHK_ENTRY(_("Accepts Focus"), 0, 12, icccm.accepts_focus);
    CHK_ENTRY(_("Urgent"), 0, 13, icccm.urgent);
@@ -499,13 +499,13 @@ _ec_netwm_create(E_Dialog *dia, void *data __UNUSED__)
 
    evas = evas_object_evas_get(dia->win);
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    STR_ENTRY(_("Name"), 0, 1, netwm.name);
    STR_ENTRY(_("Icon Name"), 0, 2, netwm.icon_name);
    STR_ENTRY(_("Stacking"), 0, 3, netwm.stacking);
    e_widget_toolbook_page_append(otb, NULL, _("General"), o, 1, 1, 1, 1, 0.5, 0.0);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    CHK_ENTRY(_("Modal"), 0, 4, netwm.modal);
    CHK_ENTRY(_("Sticky"), 0, 5, netwm.sticky);
    CHK_ENTRY(_("Shaded"), 0, 6, netwm.shaded);
index 202c3fa..75f37a0 100644 (file)
@@ -737,8 +737,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
      }
    e_widget_toolbook_page_append(o, NULL, _("Identifiers"), of, 1, 1, 1, 1, 0.5, 0.0);
 
-   of = e_widget_table_add(evas, 0);
-   e_widget_table_freeze(of);
+   of = e_widget_table_add(e_win_evas_win_get(evas), 0);
    ob = e_widget_check_add(evas, _("Position"),
                            &(cfdata->remember.apply_pos));
    e_widget_table_object_append(of, ob, 0, 0, 1, 1, 1, 0, 1, 0);
@@ -795,7 +794,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
    e_widget_table_object_append(of, ob, 0, 9, 2, 1, 1, 0, 1, 0);
    e_widget_toolbook_page_append(o, NULL, _("Properties"), of, 1, 1, 1, 1, 0.5, 0.0);
 
-   of = e_widget_table_add(evas, 0);
+   of = e_widget_table_add(e_win_evas_win_get(evas), 0);
    ob = e_widget_check_add(evas, _("Match only one window"),
                            &(cfdata->remember.apply_first_only));
    e_widget_table_object_append(of, ob, 0, 0, 1, 1, 1, 0, 1, 0);
@@ -814,7 +813,6 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
                                 &(cfdata->remember.apply_run));
         e_widget_table_object_append(of, ob, 0, 3, 1, 1, 1, 0, 1, 0);
      }
-   e_widget_table_thaw(of);
    e_widget_toolbook_page_append(o, NULL, _("Options"), of, 1, 1, 1, 1, 0.5, 0.0);
    e_widget_toolbook_page_show(o, 0);
 
index f967afe..e0a00f9 100644 (file)
@@ -546,7 +546,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED,
    orec0 = evas_object_rectangle_add(evas);
    evas_object_name_set(orec0, "style_shadows");
 
-   tab = e_widget_table_add(evas, 0);
+   tab = e_widget_table_add(e_win_evas_win_get(evas), 0);
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
 
    ///////////////////////////////////////////
index 6a3d09d..30786f4 100644 (file)
@@ -342,7 +342,7 @@ _create_edit_frame(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdat
 
    tb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
 
-   tab2 = e_widget_table_add(evas, 0);
+   tab2 = e_widget_table_add(e_win_evas_win_get(evas), 0);
    if (cfdata->edit_il == cfdata->borders_il)
      {
         if (m->match.title) m->title = strdup(m->match.title);
@@ -439,7 +439,7 @@ _create_edit_frame(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdat
    m->modal = m->match.modal;
 
    row = 0;
-   tab2 = e_widget_table_add(evas, 0);
+   tab2 = e_widget_table_add(e_win_evas_win_get(evas), 0);
    lb = e_widget_label_add(evas, _("Unused"));
    e_widget_table_object_append(tab2, lb, 1, row, 1, 1, 0, 0, 0, 0);
    lb = e_widget_label_add(evas, _("On"));
@@ -678,7 +678,7 @@ _create_match_editor(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfd
    Match_Config *m;
    Eina_List *l;
 
-   tab = e_widget_table_add(evas, 0);
+   tab = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    il = e_widget_ilist_add(evas, 16, 16, NULL);
    e_widget_size_min_set(il, 160, 100);
index 28238b6..7ebf166 100644 (file)
@@ -177,7 +177,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
 
    cfdata->evas = evas_object_evas_get(cfd->dia->win);
 
-   of = e_widget_table_add(evas, 0);
+   of = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    cfdata->o_toolbar = e_widget_toolbar_add(evas, 32 * e_scale, 32 * e_scale);
    e_widget_toolbar_scrollable_set(cfdata->o_toolbar, 1);
index a3f3d33..6251c11 100644 (file)
@@ -681,7 +681,7 @@ _advanced_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    cfdata->basic.o_list = NULL;
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
    ////////////////////////////////////////////////////////////
-   ot = e_widget_table_add(evas, EINA_FALSE);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), EINA_FALSE);
 
    cfdata->advanced.o_list =
      e_widget_ilist_add(evas, (24 * e_scale), (24 * e_scale), &cfdata->sel);
@@ -701,7 +701,7 @@ _advanced_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    e_widget_toolbook_page_append(otb, NULL, _("Loaded Gadgets"), ot, 1, 1, 1, 1, 0.5, 0.0);
    ////////////////////////////////////////////////////////////
 //   ot = e_widget_list_add(evas, 0, 0);
-   ot = e_widget_table_add(evas, EINA_FALSE);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), EINA_FALSE);
 
    cfdata->class_list =
      e_widget_ilist_add(evas, (24 * e_scale), (24 * e_scale), NULL);
@@ -736,7 +736,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    int mw;
 
    cfdata->advanced.o_list = cfdata->class_list = NULL;
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    cfdata->basic.o_list = e_widget_ilist_add(evas, 24, 24, NULL);
    e_widget_ilist_multi_select_set(cfdata->basic.o_list, EINA_TRUE);
index f16e814..c8ab81b 100644 (file)
@@ -164,7 +164,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
                                  1, 0, 1, 0, 0.5, 0.0);
 
    /* position */
-   ol = e_widget_table_add(evas, 1);
+   ol = e_widget_table_add(e_win_evas_win_get(evas), 1);
    rg = e_widget_radio_group_new(&(cfdata->orient));
    ow = e_widget_radio_icon_add(evas, NULL, "preferences-position-left",
                                 24, 24, E_GADCON_ORIENT_LEFT, rg);
diff --git a/src/bin/e_table.c b/src/bin/e_table.c
deleted file mode 100644 (file)
index 0290299..0000000
+++ /dev/null
@@ -1,980 +0,0 @@
-#include "e.h"
-
-typedef struct _E_Smart_Data E_Smart_Data;
-typedef struct _E_Table_Item E_Table_Item;
-
-struct _E_Smart_Data
-{
-   Evas_Coord    x, y, w, h;
-   Evas_Object  *obj;
-   Evas_Object  *clip;
-   int           frozen;
-   unsigned char changed : 1;
-   unsigned char homogenous : 1;
-   Eina_List    *items;
-   struct
-   {
-      Evas_Coord w, h;
-   } min, max;
-   struct
-   {
-      double x, y;
-   } align;
-   struct
-   {
-      int cols, rows;
-   } size;
-};
-
-struct _E_Table_Item
-{
-   E_Smart_Data *sd;
-   int           col, row, colspan, rowspan;
-   unsigned char fill_w : 1;
-   unsigned char fill_h : 1;
-   unsigned char expand_w : 1;
-   unsigned char expand_h : 1;
-   struct
-   {
-      Evas_Coord w, h;
-   } min, max;
-   struct
-   {
-      double x, y;
-   } align;
-   Evas_Object  *obj;
-};
-
-/* local subsystem functions */
-static E_Table_Item *_e_table_smart_adopt(E_Smart_Data *sd, Evas_Object *obj);
-static void          _e_table_smart_disown(Evas_Object *obj);
-static void          _e_table_smart_item_del_hook(void *data, Evas *e, Evas_Object *obj, void *event_info);
-static void          _e_table_smart_reconfigure(E_Smart_Data *sd);
-static void          _e_table_smart_extents_calcuate(E_Smart_Data *sd);
-
-static void          _e_table_smart_init(void);
-static void          _e_table_smart_add(Evas_Object *obj);
-static void          _e_table_smart_del(Evas_Object *obj);
-static void          _e_table_smart_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y);
-static void          _e_table_smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
-static void          _e_table_smart_show(Evas_Object *obj);
-static void          _e_table_smart_hide(Evas_Object *obj);
-static void          _e_table_smart_color_set(Evas_Object *obj, int r, int g, int b, int a);
-static void          _e_table_smart_clip_set(Evas_Object *obj, Evas_Object *clip);
-static void          _e_table_smart_clip_unset(Evas_Object *obj);
-
-/* local subsystem globals */
-static Evas_Smart *_e_smart = NULL;
-
-/* externally accessible functions */
-EAPI Evas_Object *
-e_table_add(Evas *evas)
-{
-   _e_table_smart_init();
-   return evas_object_smart_add(evas, _e_smart);
-}
-
-EAPI int
-e_table_freeze(Evas_Object *obj)
-{
-   E_Smart_Data *sd;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERR(0);
-   sd = evas_object_smart_data_get(obj);
-   sd->frozen++;
-   return sd->frozen;
-}
-
-EAPI int
-e_table_thaw(Evas_Object *obj)
-{
-   E_Smart_Data *sd;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERR(0);
-   sd = evas_object_smart_data_get(obj);
-   sd->frozen--;
-   if (sd->frozen <= 0) _e_table_smart_reconfigure(sd);
-   return sd->frozen;
-}
-
-EAPI void
-e_table_homogenous_set(Evas_Object *obj, int homogenous)
-{
-   E_Smart_Data *sd;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERRNR();
-   sd = evas_object_smart_data_get(obj);
-   if (sd->homogenous == homogenous) return;
-   sd->homogenous = homogenous;
-   sd->changed = 1;
-   if (sd->frozen <= 0) _e_table_smart_reconfigure(sd);
-}
-
-EAPI void
-e_table_pack(Evas_Object *obj, Evas_Object *child, int col, int row, int colspan, int rowspan)
-{
-   E_Smart_Data *sd;
-   E_Table_Item *ti;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERRNR();
-   sd = evas_object_smart_data_get(obj);
-   _e_table_smart_adopt(sd, child);
-   sd->items = eina_list_append(sd->items, child);
-   ti = evas_object_data_get(child, "e_table_data");
-   if (ti)
-     {
-        ti->col = col;
-        ti->row = row;
-        ti->colspan = colspan;
-        ti->rowspan = rowspan;
-        if (sd->size.cols < (col + colspan)) sd->size.cols = col + colspan;
-        if (sd->size.rows < (row + rowspan)) sd->size.rows = row + rowspan;
-     }
-   sd->changed = 1;
-   if (sd->frozen <= 0) _e_table_smart_reconfigure(sd);
-}
-
-EAPI void
-e_table_pack_options_set(Evas_Object *obj, int fill_w, int fill_h, int expand_w, int expand_h, double align_x, double align_y, Evas_Coord min_w, Evas_Coord min_h, Evas_Coord max_w, Evas_Coord max_h)
-{
-   E_Table_Item *ti;
-
-   ti = evas_object_data_get(obj, "e_table_data");
-   if (!ti) return;
-   ti->fill_w = fill_w;
-   ti->fill_h = fill_h;
-   ti->expand_w = expand_w;
-   ti->expand_h = expand_h;
-   ti->align.x = align_x;
-   ti->align.y = align_y;
-   ti->min.w = min_w;
-   ti->min.h = min_h;
-   ti->max.w = max_w;
-   ti->max.h = max_h;
-   ti->sd->changed = 1;
-   if (ti->sd->frozen <= 0) _e_table_smart_reconfigure(ti->sd);
-}
-
-EAPI void
-e_table_unpack(Evas_Object *obj)
-{
-   E_Table_Item *ti;
-   E_Smart_Data *sd;
-
-   ti = evas_object_data_get(obj, "e_table_data");
-   if (!ti) return;
-   sd = ti->sd;
-   sd->items = eina_list_remove(sd->items, obj);
-   _e_table_smart_disown(obj);
-   sd->changed = 1;
-   if (sd->frozen <= 0) _e_table_smart_reconfigure(sd);
-}
-
-EAPI void
-e_table_col_row_size_get(Evas_Object *obj, int *cols, int *rows)
-{
-   E_Smart_Data *sd;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERRNR();
-   sd = evas_object_smart_data_get(obj);
-   if (sd->changed) _e_table_smart_extents_calcuate(sd);
-   if (cols) *cols = sd->size.cols;
-   if (rows) *rows = sd->size.rows;
-}
-
-EAPI void
-e_table_size_min_get(Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh)
-{
-   E_Smart_Data *sd;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERRNR();
-   sd = evas_object_smart_data_get(obj);
-   if (sd->changed) _e_table_smart_extents_calcuate(sd);
-   if (minw) *minw = sd->min.w;
-   if (minh) *minh = sd->min.h;
-}
-
-EAPI void
-e_table_size_max_get(Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh)
-{
-   E_Smart_Data *sd;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERRNR();
-   sd = evas_object_smart_data_get(obj);
-   if (sd->changed) _e_table_smart_extents_calcuate(sd);
-   if (maxw) *maxw = sd->max.w;
-   if (maxh) *maxh = sd->max.h;
-}
-
-EAPI void
-e_table_align_get(Evas_Object *obj, double *ax, double *ay)
-{
-   E_Smart_Data *sd;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERRNR();
-   sd = evas_object_smart_data_get(obj);
-   if (ax) *ax = sd->align.x;
-   if (ay) *ay = sd->align.y;
-}
-
-EAPI void
-e_table_align_set(Evas_Object *obj, double ax, double ay)
-{
-   E_Smart_Data *sd;
-
-   if (evas_object_smart_smart_get(obj) != _e_smart) SMARTERRNR();
-   sd = evas_object_smart_data_get(obj);
-   if ((sd->align.x == ax) && (sd->align.y == ay)) return;
-   sd->align.x = ax;
-   sd->align.y = ay;
-   sd->changed = 1;
-   if (sd->frozen <= 0) _e_table_smart_reconfigure(sd);
-}
-
-/* local subsystem functions */
-static E_Table_Item *
-_e_table_smart_adopt(E_Smart_Data *sd, Evas_Object *obj)
-{
-   E_Table_Item *ti;
-
-   ti = calloc(1, sizeof(E_Table_Item));
-   if (!ti) return NULL;
-   ti->sd = sd;
-   ti->obj = obj;
-   /* defaults */
-   ti->col = 0;
-   ti->row = 0;
-   ti->colspan = 1;
-   ti->rowspan = 1;
-   ti->fill_w = 0;
-   ti->fill_h = 0;
-   ti->expand_w = 0;
-   ti->expand_h = 0;
-   ti->align.x = 0.5;
-   ti->align.y = 0.5;
-   ti->min.w = 0;
-   ti->min.h = 0;
-   ti->max.w = 0;
-   ti->max.h = 0;
-   evas_object_clip_set(obj, sd->clip);
-//   evas_object_stack_above(obj, sd->obj);
-   evas_object_smart_member_add(obj, ti->sd->obj);
-   evas_object_data_set(obj, "e_table_data", ti);
-   evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
-                                  _e_table_smart_item_del_hook, NULL);
-//   evas_object_stack_below(obj, sd->obj);
-   if ((!evas_object_visible_get(sd->clip)) &&
-       (evas_object_visible_get(sd->obj)))
-     evas_object_show(sd->clip);
-   return ti;
-}
-
-static void
-_e_table_smart_disown(Evas_Object *obj)
-{
-   E_Table_Item *ti;
-
-   ti = evas_object_data_get(obj, "e_table_data");
-   if (!ti) return;
-   if (!ti->sd->items)
-     {
-        if (evas_object_visible_get(ti->sd->clip))
-          evas_object_hide(ti->sd->clip);
-     }
-   evas_object_event_callback_del(obj,
-                                  EVAS_CALLBACK_FREE,
-                                  _e_table_smart_item_del_hook);
-   evas_object_smart_member_del(obj);
-   evas_object_data_del(obj, "e_table_data");
-   free(ti);
-}
-
-static void
-_e_table_smart_item_del_hook(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
-{
-   e_table_unpack(obj);
-}
-
-static void
-_e_table_smart_reconfigure(E_Smart_Data *sd)
-{
-   Evas_Coord x, y, w, h, xx, yy;
-   Eina_List *l;
-   Evas_Object *obj;
-   int minw, minh, expandw, expandh;
-
-   if (!sd->changed) return;
-
-   w = sd->w;
-   h = sd->h;
-
-   _e_table_smart_extents_calcuate(sd);
-
-   minw = sd->min.w;
-   minh = sd->min.h;
-   expandw = 0;
-   expandh = 0;
-   if (w < minw) w = minw;
-   if (h < minh) h = minh;
-   EINA_LIST_FOREACH(sd->items, l, obj)
-     {
-        E_Table_Item *ti;
-
-        ti = evas_object_data_get(obj, "e_table_data");
-        if (ti->expand_w) expandw++;
-        if (ti->expand_h) expandh++;
-     }
-   if (expandw == 0)
-     {
-        w = minw;
-     }
-   if (expandh == 0)
-     {
-        h = minh;
-     }
-   x = sd->x;
-   y = sd->y;
-   if (sd->homogenous)
-     {
-        EINA_LIST_FOREACH(sd->items, l, obj)
-          {
-             E_Table_Item *ti;
-             Evas_Coord ww, hh, ow, oh;
-
-             ti = evas_object_data_get(obj, "e_table_data");
-
-             xx = x + ((ti->col) * (w / (Evas_Coord)sd->size.cols));
-             yy = y + ((ti->row) * (h / (Evas_Coord)sd->size.rows));
-             ww = ((w / (Evas_Coord)sd->size.cols) * (ti->colspan));
-             hh = ((h / (Evas_Coord)sd->size.rows) * (ti->rowspan));
-             ow = ti->min.w;
-             if (ti->expand_w) ow = ww;
-             if ((ti->max.w >= 0) && (ti->max.w < ow)) ow = ti->max.w;
-             oh = ti->min.h;
-             if (ti->expand_h) oh = hh;
-             if ((ti->max.h >= 0) && (ti->max.h < oh)) oh = ti->max.h;
-             evas_object_move(obj,
-                              xx + (Evas_Coord)(((double)(ww - ow)) * ti->align.x),
-                              yy + (Evas_Coord)(((double)(hh - oh)) * ti->align.y));
-             evas_object_resize(obj, ow, oh);
-          }
-     }
-   else
-     {
-        int i, ex, tot, need, num, dif, left, nx;
-        EINA_LIST_FOREACH(sd->items, l, obj)
-          {
-             E_Table_Item *ti;
-
-             ti = evas_object_data_get(obj, "e_table_data");
-             if (sd->size.cols < (ti->col + ti->colspan))
-               sd->size.cols = ti->col + ti->colspan;
-             if (sd->size.rows < (ti->row + ti->rowspan))
-               sd->size.rows = ti->row + ti->rowspan;
-          }
-        if ((sd->size.cols > 0) && (sd->size.rows > 0))
-          {
-             int *cols, *rows, *colsx, *rowsx;
-
-             cols = calloc(sd->size.cols, sizeof(int));
-             rows = calloc(sd->size.rows, sizeof(int));
-             colsx = calloc(sd->size.cols, sizeof(int));
-             rowsx = calloc(sd->size.rows, sizeof(int));
-
-             EINA_LIST_FOREACH(sd->items, l, obj)
-               {
-                  E_Table_Item *ti;
-
-                  ti = evas_object_data_get(obj, "e_table_data");
-                  for (i = ti->col; i < (ti->col + ti->colspan); i++)
-                    colsx[i] |= ti->expand_w;
-                  for (i = ti->row; i < (ti->row + ti->rowspan); i++)
-                    rowsx[i] |= ti->expand_h;
-               }
-
-             EINA_LIST_FOREACH(sd->items, l, obj)
-               {
-                  E_Table_Item *ti;
-
-                  ti = evas_object_data_get(obj, "e_table_data");
-
-                  /* handle horizontal */
-                  ex = 0;
-                  tot = 0;
-                  num = ti->colspan;
-                  for (i = ti->col; i < (ti->col + num); i++)
-                    {
-                       if (colsx[i]) ex++;
-                       tot += cols[i];
-                    }
-                  need = ti->min.w;
-                  if (tot < need)
-                    {
-                       dif = need - tot;
-                       left = dif;
-                       if (ex == 0)
-                         {
-                            nx = num;
-                            for (i = ti->col; i < (ti->col + num); i++)
-                              {
-                                 if (nx > 1)
-                                   {
-                                      cols[i] += dif / num;
-                                      left -= dif / num;
-                                   }
-                                 else
-                                   {
-                                      cols[i] += left;
-                                      left = 0;
-                                   }
-                                 nx--;
-                              }
-                         }
-                       else
-                         {
-                            nx = ex;
-                            for (i = ti->col; i < (ti->col + num); i++)
-                              {
-                                 if (colsx[i])
-                                   {
-                                      if (nx > 1)
-                                        {
-                                           cols[i] += dif / ex;
-                                           left -= dif / ex;
-                                        }
-                                      else
-                                        {
-                                           cols[i] += left;
-                                           left = 0;
-                                        }
-                                      nx--;
-                                   }
-                              }
-                         }
-                    }
-
-                  /* handle vertical */
-                  ex = 0;
-                  tot = 0;
-                  num = ti->rowspan;
-                  for (i = ti->row; i < (ti->row + num); i++)
-                    {
-                       if (rowsx[i]) ex++;
-                       tot += rows[i];
-                    }
-                  need = ti->min.h;
-                  if (tot < need)
-                    {
-                       dif = need - tot;
-                       left = dif;
-                       if (ex == 0)
-                         {
-                            nx = num;
-                            for (i = ti->row; i < (ti->row + num); i++)
-                              {
-                                 if (nx > 1)
-                                   {
-                                      rows[i] += dif / num;
-                                      left -= dif / num;
-                                   }
-                                 else
-                                   {
-                                      rows[i] += left;
-                                      left = 0;
-                                   }
-                                 nx--;
-                              }
-                         }
-                       else
-                         {
-                            nx = ex;
-                            for (i = ti->row; i < (ti->row + num); i++)
-                              {
-                                 if (rowsx[i])
-                                   {
-                                      if (nx > 1)
-                                        {
-                                           rows[i] += dif / ex;
-                                           left -= dif / ex;
-                                        }
-                                      else
-                                        {
-                                           rows[i] += left;
-                                           left = 0;
-                                        }
-                                      nx--;
-                                   }
-                              }
-                         }
-                    }
-               }
-
-             ex = 0;
-             for (i = 0; i < sd->size.cols; i++) {
-                  if (colsx[i])
-                    ex++;
-               }
-             tot = 0;
-             for (i = 0; i < sd->size.cols; i++)
-               tot += cols[i];
-             dif = w - tot;
-             if ((ex > 0) && (dif > 0))
-               {
-                  int exl;
-
-                  left = dif;
-                  exl = ex;
-                  for (i = 0; i < sd->size.cols; i++)
-                    {
-                       if (colsx[i])
-                         {
-                            if (exl == 1)
-                              {
-                                 cols[i] += left;
-                                 exl--;
-                                 left = 0;
-                              }
-                            else
-                              {
-                                 cols[i] += dif / ex;
-                                 exl--;
-                                 left -= dif / ex;
-                              }
-                         }
-                    }
-               }
-
-             ex = 0;
-             for (i = 0; i < sd->size.rows; i++) {
-                  if (rowsx[i])
-                    ex++;
-               }
-             tot = 0;
-             for (i = 0; i < sd->size.rows; i++)
-               tot += rows[i];
-             dif = h - tot;
-             if ((ex > 0) && (dif > 0))
-               {
-                  int exl;
-
-                  left = dif;
-                  exl = ex;
-                  for (i = 0; i < sd->size.rows; i++)
-                    {
-                       if (rowsx[i])
-                         {
-                            if (exl == 1)
-                              {
-                                 rows[i] += left;
-                                 exl--;
-                                 left = 0;
-                              }
-                            else
-                              {
-                                 rows[i] += dif / ex;
-                                 exl--;
-                                 left -= dif / ex;
-                              }
-                         }
-                    }
-               }
-
-             EINA_LIST_FOREACH(sd->items, l, obj)
-               {
-                  E_Table_Item *ti;
-                  Evas_Coord ww, hh, ow, oh, idx;
-
-                  ti = evas_object_data_get(obj, "e_table_data");
-
-                  xx = x;
-                  for (idx = 0; idx < ti->col; idx++)
-                    xx += cols[idx];
-                  ww = 0;
-                  for (idx = ti->col; idx < (ti->col + ti->colspan); idx++)
-                    ww += cols[idx];
-                  yy = y;
-                  for (idx = 0; idx < ti->row; idx++)
-                    yy += rows[idx];
-                  hh = 0;
-                  for (idx = ti->row; idx < (ti->row + ti->rowspan); idx++)
-                    hh += rows[idx];
-
-                  ow = ti->min.w;
-                  if (ti->fill_w) ow = ww;
-                  if ((ti->max.w >= 0) && (ti->max.w < ow)) ow = ti->max.w;
-                  oh = ti->min.h;
-                  if (ti->fill_h) oh = hh;
-                  if ((ti->max.h >= 0) && (ti->max.h < oh)) oh = ti->max.h;
-                  evas_object_move(obj,
-                                   xx + (Evas_Coord)(((double)(ww - ow)) * ti->align.x),
-                                   yy + (Evas_Coord)(((double)(hh - oh)) * ti->align.y));
-                  evas_object_resize(obj, ow, oh);
-               }
-             free(rows);
-             free(cols);
-             free(rowsx);
-             free(colsx);
-          }
-     }
-   sd->changed = 0;
-}
-
-static void
-_e_table_smart_extents_calcuate(E_Smart_Data *sd)
-{
-   Eina_List *l;
-   Evas_Object *obj;
-   int minw, minh;
-
-   sd->max.w = -1; /* max < 0 == unlimited */
-   sd->max.h = -1;
-   sd->size.cols = 0;
-   sd->size.rows = 0;
-
-   minw = 0;
-   minh = 0;
-   if (sd->homogenous)
-     {
-        EINA_LIST_FOREACH(sd->items, l, obj)
-          {
-             E_Table_Item *ti;
-             int mw, mh;
-
-             ti = evas_object_data_get(obj, "e_table_data");
-             if (sd->size.cols < (ti->col + ti->colspan))
-               sd->size.cols = ti->col + ti->colspan;
-             if (sd->size.rows < (ti->row + ti->rowspan))
-               sd->size.rows = ti->row + ti->rowspan;
-             mw = (ti->min.w + (ti->colspan - 1)) / ti->colspan;
-             mh = (ti->min.h + (ti->rowspan - 1)) / ti->rowspan;
-             if (minw < mw) minw = mw;
-             if (minh < mh) minh = mh;
-          }
-        minw *= sd->size.cols;
-        minh *= sd->size.rows;
-     }
-   else
-     {
-        int i, ex, tot, need, num, dif, left, nx;
-        EINA_LIST_FOREACH(sd->items, l, obj)
-          {
-             E_Table_Item *ti;
-
-             ti = evas_object_data_get(obj, "e_table_data");
-             if (sd->size.cols < (ti->col + ti->colspan))
-               sd->size.cols = ti->col + ti->colspan;
-             if (sd->size.rows < (ti->row + ti->rowspan))
-               sd->size.rows = ti->row + ti->rowspan;
-          }
-        if ((sd->size.cols > 0) && (sd->size.rows > 0))
-          {
-             int *cols, *rows, *colsx, *rowsx;
-
-             cols = calloc(sd->size.cols, sizeof(int));
-             rows = calloc(sd->size.rows, sizeof(int));
-             colsx = calloc(sd->size.cols, sizeof(int));
-             rowsx = calloc(sd->size.rows, sizeof(int));
-
-             EINA_LIST_FOREACH(sd->items, l, obj)
-               {
-                  E_Table_Item *ti;
-
-                  ti = evas_object_data_get(obj, "e_table_data");
-                  for (i = ti->col; i < (ti->col + ti->colspan); i++)
-                    colsx[i] |= ti->expand_w;
-                  for (i = ti->row; i < (ti->row + ti->rowspan); i++)
-                    rowsx[i] |= ti->expand_h;
-               }
-
-             EINA_LIST_FOREACH(sd->items, l, obj)
-               {
-                  E_Table_Item *ti;
-
-                  ti = evas_object_data_get(obj, "e_table_data");
-
-                  /* handle horizontal */
-                  ex = 0;
-                  tot = 0;
-                  num = ti->colspan;
-                  for (i = ti->col; i < (ti->col + num); i++)
-                    {
-                       if (colsx[i]) ex++;
-                       tot += cols[i];
-                    }
-                  need = ti->min.w;
-                  if (tot < need)
-                    {
-                       dif = need - tot;
-                       left = dif;
-                       if (ex == 0)
-                         {
-                            nx = num;
-                            for (i = ti->col; i < (ti->col + num); i++)
-                              {
-                                 if (nx > 1)
-                                   {
-                                      cols[i] += dif / num;
-                                      left -= dif / num;
-                                   }
-                                 else
-                                   {
-                                      cols[i] += left;
-                                      left = 0;
-                                   }
-                                 nx--;
-                              }
-                         }
-                       else
-                         {
-                            nx = ex;
-                            for (i = ti->col; i < (ti->col + num); i++)
-                              {
-                                 if (colsx[i])
-                                   {
-                                      if (nx > 1)
-                                        {
-                                           cols[i] += dif / ex;
-                                           left -= dif / ex;
-                                        }
-                                      else
-                                        {
-                                           cols[i] += left;
-                                           left = 0;
-                                        }
-                                      nx--;
-                                   }
-                              }
-                         }
-                    }
-
-                  /* handle vertical */
-                  ex = 0;
-                  tot = 0;
-                  num = ti->rowspan;
-                  for (i = ti->row; i < (ti->row + num); i++)
-                    {
-                       if (rowsx[i]) ex++;
-                       tot += rows[i];
-                    }
-                  need = ti->min.h;
-                  if (tot < need)
-                    {
-                       dif = need - tot;
-                       left = dif;
-                       if (ex == 0)
-                         {
-                            nx = num;
-                            for (i = ti->row; i < (ti->row + num); i++)
-                              {
-                                 if (nx > 1)
-                                   {
-                                      rows[i] += dif / num;
-                                      left -= dif / num;
-                                   }
-                                 else
-                                   {
-                                      rows[i] += left;
-                                      left = 0;
-                                   }
-                                 nx--;
-                              }
-                         }
-                       else
-                         {
-                            nx = ex;
-                            for (i = ti->row; i < (ti->row + num); i++)
-                              {
-                                 if (rowsx[i])
-                                   {
-                                      if (nx > 1)
-                                        {
-                                           rows[i] += dif / ex;
-                                           left -= dif / ex;
-                                        }
-                                      else
-                                        {
-                                           rows[i] += left;
-                                           left = 0;
-                                        }
-                                      nx--;
-                                   }
-                              }
-                         }
-                    }
-               }
-             for (i = 0; i < sd->size.cols; i++)
-               minw += cols[i];
-             for (i = 0; i < sd->size.rows; i++)
-               minh += rows[i];
-             free(rows);
-             free(cols);
-             free(rowsx);
-             free(colsx);
-          }
-     }
-   sd->min.w = minw;
-   sd->min.h = minh;
-}
-
-static void
-_e_table_smart_init(void)
-{
-   if (_e_smart) return;
-   {
-      static const Evas_Smart_Class sc =
-      {
-         "e_table",
-         EVAS_SMART_CLASS_VERSION,
-         _e_table_smart_add,
-         _e_table_smart_del,
-         _e_table_smart_move,
-         _e_table_smart_resize,
-         _e_table_smart_show,
-         _e_table_smart_hide,
-         _e_table_smart_color_set,
-         _e_table_smart_clip_set,
-         _e_table_smart_clip_unset,
-         NULL,
-         NULL,
-         NULL,
-         NULL,
-         NULL,
-         NULL,
-         NULL
-      };
-      _e_smart = evas_smart_class_new(&sc);
-   }
-}
-
-static void
-_e_table_smart_add(Evas_Object *obj)
-{
-   E_Smart_Data *sd;
-
-   sd = calloc(1, sizeof(E_Smart_Data));
-   if (!sd) return;
-   sd->obj = obj;
-   sd->x = 0;
-   sd->y = 0;
-   sd->w = 0;
-   sd->h = 0;
-   sd->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
-   evas_object_smart_member_add(sd->clip, obj);
-   evas_object_move(sd->clip, -100002, -100002);
-   evas_object_resize(sd->clip, 200004, 200004);
-   evas_object_color_set(sd->clip, 255, 255, 255, 255);
-   evas_object_smart_data_set(obj, sd);
-}
-
-static void
-_e_table_smart_del(Evas_Object *obj)
-{
-   E_Smart_Data *sd;
-
-   sd = evas_object_smart_data_get(obj);
-   if (!sd) return;
-   e_table_freeze(obj);
-   while (sd->items)
-     {
-        Evas_Object *child;
-
-        child = eina_list_data_get(sd->items);
-        e_table_unpack(child);
-     }
-   e_table_thaw(obj);
-   evas_object_del(sd->clip);
-   free(sd);
-}
-
-static void
-_e_table_smart_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
-{
-   E_Smart_Data *sd;
-
-   sd = evas_object_smart_data_get(obj);
-   if (!sd) return;
-   if ((x == sd->x) && (y == sd->y)) return;
-   if ((x == sd->x) && (y == sd->y)) return;
-   {
-      Eina_List *l;
-      Evas_Object *item;
-      Evas_Coord dx, dy;
-
-      dx = x - sd->x;
-      dy = y - sd->y;
-      EINA_LIST_FOREACH(sd->items, l, item)
-        {
-           Evas_Coord ox, oy;
-
-           evas_object_geometry_get(item, &ox, &oy, NULL, NULL);
-           evas_object_move(item, ox + dx, oy + dy);
-        }
-   }
-   sd->x = x;
-   sd->y = y;
-}
-
-static void
-_e_table_smart_resize(Evas_Object *obj, Evas_Coord w, Evas_Coord h)
-{
-   E_Smart_Data *sd;
-
-   sd = evas_object_smart_data_get(obj);
-   if (!sd) return;
-   if ((w == sd->w) && (h == sd->h)) return;
-   sd->w = w;
-   sd->h = h;
-   sd->changed = 1;
-   _e_table_smart_reconfigure(sd);
-}
-
-static void
-_e_table_smart_show(Evas_Object *obj)
-{
-   E_Smart_Data *sd;
-
-   sd = evas_object_smart_data_get(obj);
-   if (!sd) return;
-   if (sd->items) evas_object_show(sd->clip);
-}
-
-static void
-_e_table_smart_hide(Evas_Object *obj)
-{
-   E_Smart_Data *sd;
-
-   sd = evas_object_smart_data_get(obj);
-   if (!sd) return;
-   evas_object_hide(sd->clip);
-}
-
-static void
-_e_table_smart_color_set(Evas_Object *obj, int r, int g, int b, int a)
-{
-   E_Smart_Data *sd;
-
-   sd = evas_object_smart_data_get(obj);
-   if (!sd) return;
-   evas_object_color_set(sd->clip, r, g, b, a);
-}
-
-static void
-_e_table_smart_clip_set(Evas_Object *obj, Evas_Object *clip)
-{
-   E_Smart_Data *sd;
-
-   sd = evas_object_smart_data_get(obj);
-   if (!sd) return;
-   evas_object_clip_set(sd->clip, clip);
-}
-
-static void
-_e_table_smart_clip_unset(Evas_Object *obj)
-{
-   E_Smart_Data *sd;
-
-   sd = evas_object_smart_data_get(obj);
-   if (!sd) return;
-   evas_object_clip_unset(sd->clip);
-}
-
diff --git a/src/bin/e_table.h b/src/bin/e_table.h
deleted file mode 100644 (file)
index 9d21830..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifdef E_TYPEDEFS
-#else
-#ifndef E_TABLE_H
-#define E_TABLE_H
-
-EAPI Evas_Object *e_table_add               (Evas *evas);
-EAPI int          e_table_freeze            (Evas_Object *obj);
-EAPI int          e_table_thaw              (Evas_Object *obj);
-EAPI void         e_table_homogenous_set    (Evas_Object *obj, int homogenous);
-EAPI void         e_table_pack              (Evas_Object *obj, Evas_Object *child, int col, int row, int colspan, int rowspan);
-EAPI void         e_table_pack_options_set  (Evas_Object *obj, int fill_w, int fill_h, int expand_w, int expand_h, double align_x, double align_y, Evas_Coord min_w, Evas_Coord min_h, Evas_Coord max_w, Evas_Coord max_h);
-EAPI void         e_table_unpack            (Evas_Object *obj);
-EAPI void         e_table_col_row_size_get  (Evas_Object *obj, int *cols, int *rows);
-EAPI void         e_table_size_min_get      (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
-EAPI void         e_table_size_max_get      (Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh);
-EAPI void         e_table_align_get         (Evas_Object *obj, double *ax, double *ay);
-EAPI void         e_table_align_set         (Evas_Object *obj, double ax, double ay);
-
-#endif
-#endif
index f0d67de..4537a20 100644 (file)
@@ -44,7 +44,7 @@ e_widget_config_list_add(Evas *evas, Evas_Object * (*func_entry_add)(Evas_Object
    wd = E_NEW(E_Widget_Data, 1);
    e_widget_data_set(obj, wd);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    wd->gui.table = o;
    e_widget_sub_object_add(obj, o);
 
index 68ce617..f56488f 100644 (file)
@@ -204,11 +204,11 @@ e_widget_csel_add(Evas *evas, E_Color *color, Eina_Bool alpha_enabled)
    wd->obj = obj;
    e_widget_data_set(obj, wd);
 
-   table = e_widget_table_add(evas, 0);
+   table = e_widget_table_add(e_win_evas_win_get(evas), 0);
    e_widget_sub_object_add(obj, table);
    e_widget_resize_object_set(obj, table);
 
-   frame = e_widget_table_add(evas, 0);
+   frame = e_widget_table_add(e_win_evas_win_get(evas), 0);
    e_widget_sub_object_add(obj, frame);
    grp = e_widget_radio_group_new(&wd->mode);
 
index 9c500f2..fc608fc 100644 (file)
@@ -271,7 +271,7 @@ _e_wid_fprev_preview_video_opened(E_Widget_Data *wd, Evas_Object *obj, void *eve
 static void
 _e_wid_fprev_preview_video_resize(E_Widget_Data *wd, Evas_Object *obj, void *event_info __UNUSED__)
 {
-   int w, h, mw, mh;
+   int w, h;
    char buf[128];
 
    emotion_object_size_get(obj, &w, &h);
@@ -279,8 +279,7 @@ _e_wid_fprev_preview_video_resize(E_Widget_Data *wd, Evas_Object *obj, void *eve
    snprintf(buf, sizeof(buf), "%dx%d", w, h);
    e_widget_entry_text_set(wd->o_preview_resolution_entry, buf);
    if (!wd->clamp_video) return;
-   e_widget_size_min_get(wd->o_preview_preview, &mw, &mh);
-   e_table_pack_options_set(wd->o_preview_preview, 1, 1, 1, 1, 0.5, 0.5, mw, mh, w, h);
+   evas_object_size_hint_max_set(wd->o_preview_preview, w, h);
 }
 
 static void
@@ -307,7 +306,7 @@ _e_wid_fprev_preview_video_widgets(E_Widget_Data *wd)
    win = e_win_evas_win_get(evas);
    _e_wid_fprev_clear_widgets(wd);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    wd->o_preview_properties_table = o;
 
 #define WIDROW(lab, labob, entob, entw)                                           \
@@ -327,7 +326,7 @@ _e_wid_fprev_preview_video_widgets(E_Widget_Data *wd)
        y++;                                                                       \
     } while (0)
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    e_widget_size_min_set(o, wd->w, wd->h);
    e_widget_table_object_append(wd->o_preview_properties_table,
                                 o, 0, 0, 2, 2, 1, 1, 1, 1);
@@ -391,7 +390,7 @@ _e_wid_fprev_preview_fs_widgets(E_Widget_Data *wd, Eina_Bool mount_point)
    win = e_win_evas_win_get(evas);
    _e_wid_fprev_clear_widgets(wd);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    wd->o_preview_properties_table = o;
 
 #define WIDROW(lab, labob, entob, entw)                                           \
@@ -448,7 +447,7 @@ _e_wid_fprev_preview_file_widgets(E_Widget_Data *wd, Eina_Bool dir, Eina_Bool tx
    win = e_win_evas_win_get(evas);
    _e_wid_fprev_clear_widgets(wd);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    wd->o_preview_preview_table = o;
    e_widget_size_min_set(o, 32, 32);
 
@@ -456,7 +455,7 @@ _e_wid_fprev_preview_file_widgets(E_Widget_Data *wd, Eina_Bool dir, Eina_Bool tx
                                wd->o_preview_preview_table,
                                0, 1, 0.5);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    wd->o_preview_properties_table = o;
    wd->is_dir = dir;
    wd->is_txt = txt;
@@ -1182,6 +1181,14 @@ _e_wid_fprev_cb_mod(E_Widget_Data *wd, int type __UNUSED__, Eio_Monitor_Event *e
    return ECORE_CALLBACK_RENEW;
 }
 
+static void
+_fileprev_hints(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
+{
+   int w, h;
+   evas_object_size_hint_min_get(obj, &w, &h);
+   e_widget_size_min_set(data, w, h);
+}
+
 EAPI Evas_Object *
 e_widget_filepreview_add(Evas *evas, int w, int h, int horiz)
 {
@@ -1200,6 +1207,7 @@ e_widget_filepreview_add(Evas *evas, int w, int h, int horiz)
 
    o = e_widget_list_add(evas, 0, horiz);
    wd->o_preview_list = o;
+   evas_object_event_callback_add(o, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _fileprev_hints, obj);
    e_widget_resize_object_set(obj, o);
    e_widget_sub_object_add(obj, o);
 
index 2434acf..50b4450 100644 (file)
@@ -3,12 +3,21 @@
 typedef struct _E_Widget_Data E_Widget_Data;
 struct _E_Widget_Data
 {
+   Evas_Object *obj;
    Evas_Object *o_frame, *o_table;
 };
 
 static void _e_wid_del_hook(Evas_Object *obj);
 static void _e_wid_disable_hook(Evas_Object *obj);
+static void
+_size_hint(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+{
+   int w, h;
+   E_Widget_Data *wd = data;
 
+   edje_object_size_min_calc(wd->o_frame, &w, &h);
+   e_widget_size_min_set(wd->obj, w, h);
+}
 /* local subsystem functions */
 
 /* externally accessible functions */
@@ -25,8 +34,9 @@ e_widget_frametable_add(Evas *evas, const char *label, int homogenous)
    e_widget_disable_hook_set(obj, _e_wid_disable_hook);
    wd = calloc(1, sizeof(E_Widget_Data));
    e_widget_data_set(obj, wd);
+   wd->obj = obj;
 
-   o = edje_object_add(evas);
+   o = edje_object_add(e_win_evas_win_get(evas));
    wd->o_frame = o;
    e_theme_edje_object_set(o, "base/theme/widgets",
                            "e/widgets/frame");
@@ -35,9 +45,10 @@ e_widget_frametable_add(Evas *evas, const char *label, int homogenous)
    e_widget_sub_object_add(obj, o);
    e_widget_resize_object_set(obj, o);
 
-   o = e_table_add(evas);
+   o = elm_table_add(e_win_evas_win_get(evas));
+   evas_object_event_callback_add(o, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _size_hint, wd);
    wd->o_table = o;
-   e_table_homogenous_set(o, homogenous);
+   elm_table_homogeneous_set(o, homogenous);
    edje_object_part_swallow(wd->o_frame, "e.swallow.content", o);
    e_widget_sub_object_add(obj, o);
    evas_object_show(o);
@@ -51,27 +62,7 @@ e_widget_frametable_add(Evas *evas, const char *label, int homogenous)
 EAPI void
 e_widget_frametable_object_append(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h)
 {
-   E_Widget_Data *wd;
-   Evas_Coord mw = 0, mh = 0;
-
-   wd = e_widget_data_get(obj);
-
-   e_table_pack(wd->o_table, sobj, col, row, colspan, rowspan);
-   e_widget_size_min_get(sobj, &mw, &mh);
-   e_table_pack_options_set(sobj,
-                            fill_w, fill_h, /* fill */
-                            expand_w, expand_h, /* expand */
-                            0.5, 0.5, /* align */
-                            mw, mh, /* min */
-                            99999, 99999 /* max */
-                            );
-   e_table_size_min_get(wd->o_table, &mw, &mh);
-   evas_object_size_hint_min_set(wd->o_table, mw, mh);
-   edje_object_part_swallow(wd->o_frame, "e.swallow.content", wd->o_table);
-   edje_object_size_min_calc(wd->o_frame, &mw, &mh);
-   e_widget_size_min_set(obj, mw, mh);
-   e_widget_sub_object_add(obj, sobj);
-   evas_object_show(sobj);
+   e_widget_frametable_object_append_full(obj, sobj, col, row, colspan, rowspan, fill_w, fill_h, expand_w, expand_h, 0.5, 0.5, -1, -1, -1, -1);
 }
 
 EAPI void
@@ -80,16 +71,17 @@ e_widget_frametable_object_append_full(Evas_Object *obj, Evas_Object *sobj, int
    E_Widget_Data *wd = e_widget_data_get(obj);
    Evas_Coord mw = 0, mh = 0;
 
-   e_table_pack(wd->o_table, sobj, col, row, colspan, rowspan);
-   e_table_pack_options_set(sobj,
-                            fill_w, fill_h,
-                            expand_w, expand_h,
-                            align_x, align_y,
-                            min_w, min_h,
-                            max_w, max_h
-                            );
-   e_table_size_min_get(wd->o_table, &mw, &mh);
-   evas_object_size_hint_min_set(wd->o_table, mw, mh);
+   if ((min_w > 0) || (min_h > 0))
+     evas_object_size_hint_min_set(sobj, min_w, min_h);
+   if ((max_w > 0) || (max_h > 0))
+     evas_object_size_hint_max_set(sobj, max_w, max_h);
+   if (fill_w) align_x = -1;
+   if (fill_h) align_y = -1;
+   E_ALIGN(sobj, align_x, align_y);
+   E_WEIGHT(sobj, expand_w, expand_h);
+   elm_table_pack(wd->o_table, sobj, col, row, colspan, rowspan);
+   evas_object_smart_need_recalculate_set(wd->o_table, 1);
+   evas_object_smart_calculate(wd->o_table);
    edje_object_part_swallow(wd->o_frame, "e.swallow.content", wd->o_table);
    edje_object_size_min_calc(wd->o_frame, &mw, &mh);
    e_widget_size_min_set(obj, mw, mh);
@@ -105,19 +97,12 @@ e_widget_frametable_object_repack(Evas_Object *obj, Evas_Object *sobj, int col,
 
    wd = e_widget_data_get(obj);
 
-   e_table_unpack(sobj);
-   e_table_pack(wd->o_table, sobj, col, row, colspan, rowspan);
-   e_widget_size_min_get(sobj, &mw, &mh);
-   e_table_pack_options_set(sobj,
-                            fill_w, fill_h, /* fill */
-                            expand_w, expand_h, /* expand */
-                            0.5, 0.5, /* align */
-                            mw, mh, /* min */
-                            99999, 99999 /* max */
-                            );
-   e_table_size_min_get(wd->o_table, &mw, &mh);
-   evas_object_size_hint_min_set(wd->o_table, mw, mh);
-   edje_object_part_swallow(wd->o_frame, "e.swallow.content", wd->o_table);
+   if (fill_w || fill_h)
+     E_ALIGN(sobj, fill_w ? -1 : 0.5, fill_h ? -1 : 0.5);
+   E_WEIGHT(sobj, expand_w, expand_h);
+   elm_table_pack_set(sobj, col, row, colspan, rowspan);
+   evas_object_smart_need_recalculate_set(wd->o_table, 1);
+   evas_object_smart_calculate(wd->o_table);
    edje_object_size_min_calc(wd->o_frame, &mw, &mh);
    e_widget_size_min_set(obj, mw, mh);
 }
@@ -128,7 +113,7 @@ e_widget_frametable_content_align_set(Evas_Object *obj, double halign, double va
    E_Widget_Data *wd;
 
    wd = e_widget_data_get(obj);
-   e_table_align_set(wd->o_table, halign, valign);
+   elm_table_align_set(wd->o_table, halign, valign);
 }
 
 EAPI void
index 0061da1..df4df32 100644 (file)
@@ -323,12 +323,12 @@ e_widget_fsel_add(Evas *evas, const char *dev, const char *path, char *selected,
    wd->chg_data = chg_data;
    wd->preview = preview;
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    wd->o_table = o;
    e_widget_sub_object_add(obj, o);
    e_widget_resize_object_set(obj, o);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    wd->o_table2 = o;
 
    o = e_widget_button_add(evas, _("Add to Favorites"), "bookmark-new",
index 54d2231..95849ec 100644 (file)
@@ -12,20 +12,20 @@ static void _e_wid_del_hook(Evas_Object *obj);
 
 /* externally accessible functions */
 EAPI Evas_Object *
-e_widget_table_add(Evas *evas, int homogenous)
+e_widget_table_add(Evas_Object *parent, int homogenous)
 {
    Evas_Object *obj, *o;
    E_Widget_Data *wd;
 
-   obj = e_widget_add(evas);
+   obj = e_widget_add(evas_object_evas_get(parent));
 
    e_widget_del_hook_set(obj, _e_wid_del_hook);
    wd = calloc(1, sizeof(E_Widget_Data));
    e_widget_data_set(obj, wd);
 
-   o = e_table_add(evas);
+   o = elm_table_add(parent);
    wd->o_table = o;
-   e_table_homogenous_set(o, homogenous);
+   elm_table_homogeneous_set(o, homogenous);
    evas_object_show(o);
    e_widget_sub_object_add(obj, o);
    e_widget_resize_object_set(obj, o);
@@ -46,70 +46,35 @@ EAPI void
 e_widget_table_object_align_append(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h, double ax, double ay)
 {
    E_Widget_Data *wd;
-   Evas_Coord mw = 0, mh = 0;
 
    wd = e_widget_data_get(obj);
 
-   e_table_pack(wd->o_table, sobj, col, row, colspan, rowspan);
-   e_widget_size_min_get(sobj, &mw, &mh);
-   e_table_pack_options_set(sobj,
-                            fill_w, fill_h, /* fill */
-                            expand_w, expand_h, /* expand */
-                            ax, ay, /* align */
-                            mw, mh, /* min */
-                            99999, 99999 /* max */
-                            );
-   e_table_size_min_get(wd->o_table, &mw, &mh);
-   e_widget_size_min_set(obj, mw, mh);
+   if (fill_w) ax = -1;
+   if (fill_h) ay = -1;
+   E_ALIGN(sobj, ax, ay);
+   E_WEIGHT(sobj, expand_w, expand_h);
+   elm_table_pack(wd->o_table, sobj, col, row, colspan, rowspan);
    e_widget_sub_object_add(obj, sobj);
    evas_object_show(sobj);
 }
 
 EAPI void
-e_widget_table_object_repack(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h)
+e_widget_table_object_repack(Evas_Object *obj EINA_UNUSED, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h)
 {
-   E_Widget_Data *wd;
-   Evas_Coord mw = 0, mh = 0;
-
-   wd = e_widget_data_get(obj);
-
-   e_table_unpack(sobj);
-   e_table_pack(wd->o_table, sobj, col, row, colspan, rowspan);
-   e_widget_size_min_get(sobj, &mw, &mh);
-   e_table_pack_options_set(sobj,
-                            fill_w, fill_h, /* fill */
-                            expand_w, expand_h, /* expand */
-                            0.5, 0.5, /* align */
-                            mw, mh, /* min */
-                            99999, 99999 /* max */
-                            );
-   e_table_size_min_get(wd->o_table, &mw, &mh);
-   e_widget_size_min_set(obj, mw, mh);
+   if (fill_w || fill_h)
+     E_ALIGN(sobj, fill_w ? -1 : 0.5, fill_h ? -1 : 0.5);
+   E_WEIGHT(sobj, expand_w, expand_h);
+   elm_table_pack_set(sobj, col, row, colspan, rowspan);
 }
 
 EAPI void
 e_widget_table_unpack(Evas_Object *obj, Evas_Object *sobj)
 {
-   e_widget_sub_object_del(obj, sobj);
-   e_table_unpack(sobj);
-}
-
-EAPI void
-e_widget_table_freeze(Evas_Object *obj)
-{
    E_Widget_Data *wd;
 
    wd = e_widget_data_get(obj);
-   e_table_freeze(wd->o_table);
-}
-
-EAPI void
-e_widget_table_thaw(Evas_Object *obj)
-{
-   E_Widget_Data *wd;
-
-   wd = e_widget_data_get(obj);
-   e_table_thaw(wd->o_table);
+   e_widget_sub_object_del(obj, sobj);
+   elm_table_unpack(wd->o_table, sobj);
 }
 
 static void
index 2398342..f4c2a71 100644 (file)
@@ -3,13 +3,11 @@
 #ifndef E_WIDGET_TABLE_H
 #define E_WIDGET_TABLE_H
 
-EAPI Evas_Object *e_widget_table_add(Evas *evas, int homogenous);
+EAPI Evas_Object *e_widget_table_add(Evas_Object *parent, int homogenous);
 EAPI void e_widget_table_object_append(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h);
 EAPI void e_widget_table_object_align_append(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h, double ax, double ay);
 EAPI void e_widget_table_object_repack(Evas_Object *obj, Evas_Object *sobj, int col, int row, int colspan, int rowspan, int fill_w, int fill_h, int expand_w, int expand_h);
 EAPI void e_widget_table_unpack(Evas_Object *obj, Evas_Object *sobj);
-EAPI void e_widget_table_freeze(Evas_Object *obj);
-EAPI void e_widget_table_thaw(Evas_Object *obj);
 
 #endif
 #endif
index 115b455..725266d 100644 (file)
@@ -23,7 +23,7 @@ e_widget_toolbook_add(Evas *evas, int icon_w, int icon_h)
    e_widget_data_set(obj, wd);
    wd->o_widget = obj;
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    e_widget_resize_object_set(obj, o);
    evas_object_show(o);
    e_widget_sub_object_add(obj, o);
index 2b63d16..5a431e6 100644 (file)
@@ -198,7 +198,7 @@ _backlight_popup_new(Instance *inst)
    inst->popup = e_gadcon_popup_new(inst->gcc, 0);
    evas = e_comp_get(inst->popup)->evas;
    
-   inst->o_table = e_widget_table_add(evas, 0);
+   inst->o_table = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    o = e_widget_slider_add(evas, 0, 0, NULL, 0.1, 1.0, 0.05, 0, &(inst->val), NULL, 100);
    evas_object_smart_callback_add(o, "changed", _slider_cb, inst);
index 3ab08e9..f0bc3ed 100644 (file)
@@ -230,7 +230,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_D
    otb = e_widget_toolbook_add(evas, (48 * e_scale), (48 * e_scale));
 
    /* Use Sliders for both cfg options */
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    ob = e_widget_label_add(evas, _("Check every:"));
    e_widget_table_object_append(o, ob, 0, 0, 1, 1, 1, 0, 1, 0);
@@ -255,7 +255,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_D
    e_widget_toolbook_page_append(otb, NULL, _("Polling"), o, 1, 0, 1, 0,
                                  0.5, 0.0);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    ob = e_widget_check_add(evas, _("Show low battery alert"),
                            &(cfdata->show_alert));
    e_widget_on_change_hook_set(ob, _cb_show_alert_changed, cfdata);
index 50ac863..bfa1394 100644 (file)
@@ -78,7 +78,7 @@ _basic_create_widgets(E_Config_Dialog *cfd __UNUSED__,
         strftime(daynames[i], sizeof(daynames[i]), "%A", &tm);
      }
 
-   tab = e_widget_table_add(evas, 0);
+   tab = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    of = e_widget_frametable_add(evas, _("Clock"), 0);
 
index 93d49ba..3238988 100644 (file)
@@ -317,7 +317,7 @@ _clock_popup_new(Instance *inst)
    inst->popup = e_gadcon_popup_new(inst->gcc, 0);
    evas = e_comp_get(inst->popup)->evas;
 
-   inst->o_table = e_widget_table_add(evas, 0);
+   inst->o_table = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    oi = edje_object_add(evas);
    inst->o_popclock = oi;
index b13ea56..170981c 100644 (file)
@@ -254,7 +254,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    if (cfdata->data->show_autostart)
      {
         /* XDG autostart page */
-        ot = e_widget_table_add(evas, EINA_FALSE);
+        ot = e_widget_table_add(e_win_evas_win_get(evas), EINA_FALSE);
         cfdata->apps_xdg.o_list = e_widget_ilist_add(evas, 24, 24, NULL);
         e_widget_ilist_multi_select_set(cfdata->apps_xdg.o_list, EINA_TRUE);
         e_widget_size_min_get(cfdata->apps_xdg.o_list, &mw, NULL);
@@ -280,7 +280,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
      }
 
    /* Selection page */
-   ot = e_widget_table_add(evas, EINA_FALSE);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), EINA_FALSE);
    cfdata->apps_user.o_list = e_widget_ilist_add(evas, 24, 24, NULL);
    e_widget_ilist_multi_select_set(cfdata->apps_user.o_list, EINA_TRUE);
    e_widget_size_min_get(cfdata->apps_user.o_list, &mw, NULL);
@@ -299,7 +299,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
                                  1, 1, 1, 1, 0.5, 0.0);
 
    /* Order page */
-   ot = e_widget_table_add(evas, EINA_FALSE);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), EINA_FALSE);
    cfdata->o_list = e_widget_ilist_add(evas, 24, 24, NULL);
    _fill_order_list(cfdata);
    e_widget_table_object_append(ot, cfdata->o_list, 0, 0, 3, 1, 1, 1, 1, 1);
index 1c16cd9..dc6bbc8 100644 (file)
@@ -75,7 +75,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
 
    e_dialog_resizable_set(cfd->dia, 1);
    
-   of = e_widget_table_add(evas, 0);
+   of = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    li = e_widget_ilist_add(evas, 24, 24, NULL);
    cfdata->obj.list = li;
index ff73716..5a37188 100644 (file)
@@ -292,7 +292,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    e_dialog_resizable_set(cfd->dia, 1);
    otb = e_widget_toolbook_add(evas, 24, 24);
 
-   ot = e_widget_table_add(evas, EINA_FALSE);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), EINA_FALSE);
 
    ob = e_widget_label_add(evas, _("Custom Browser Command"));
    e_widget_table_object_append(ot, ob, 0, 0, 1, 1, 1, 1, 0, 0);
@@ -330,7 +330,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    e_widget_toolbook_page_append(otb, NULL, _("Core"), ot,
                                  1, 1, 1, 1, 0.5, 0.0);
 
-   ot = e_widget_table_add(evas, EINA_FALSE);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), EINA_FALSE);
 
    of = e_widget_framelist_add(evas, _("Types"), 0);
    il = e_widget_ilist_add(evas, 24, 24, &(cfdata->selmime));
index ac3a259..e941748 100644 (file)
@@ -205,7 +205,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    e_widget_frametable_object_append(of, ow, 1, 1, 1, 1, 1, 0, 1, 0);
    e_widget_list_object_append(ol, of, 1, 1, 0.5);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    of = e_widget_framelist_add(evas, _("Action"), 0);
    ow = e_widget_ilist_add(evas, (24 * e_scale), (24 * e_scale), NULL);
    cfdata->o_actions = ow;
index ace403e..c697b57 100644 (file)
@@ -274,7 +274,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
    e_widget_frametable_object_append(of, ob, 0, 3, 2, 1, 1, 0, 1, 0);
    e_widget_list_object_append(ol, of, 1, 1, 0.5);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    of = e_widget_framelist_add(evas, _("Action"), 0);
    ob = e_widget_ilist_add(evas, 24, 24, &(cfdata->locals.action));
    cfdata->gui.o_action_list = ob;
index d4e013b..43a615c 100644 (file)
@@ -253,7 +253,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
    e_widget_frametable_object_append(of, ob, 0, 3, 2, 1, 1, 0, 1, 0);
    e_widget_list_object_append(o, of, 1, 1, 0.5);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    of = e_widget_framelist_add(evas, _("Action"), 0);
    ob = e_widget_ilist_add(evas, 24, 24, &(cfdata->locals.action));
    cfdata->gui.o_action_list = ob;
index 36180c7..4a5d242 100644 (file)
@@ -308,7 +308,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
    e_widget_frametable_object_append(ot, ob, 0, 3, 2, 1, 1, 0, 1, 0);
    e_widget_list_object_append(o, ot, 1, 1, 0.5);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    of = e_widget_framelist_add(evas, _("Action"), 0);
    ob = e_widget_ilist_add(evas, 24, 24, &(cfdata->locals.action));
    cfdata->gui.o_action_list = ob;
index 29290cf..41b7527 100644 (file)
@@ -798,7 +798,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
    e_widget_frametable_object_append(of, ob, 0, 3, 2, 1, 1, 0, 1, 0);
    e_widget_list_object_append(ol, of, 1, 1, 0.5);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    of = e_widget_framelist_add(evas, _("Action"), 0);
    ob = e_widget_ilist_add(evas, 24, 24, &(cfdata->locals.action));
    cfdata->gui.o_action_list = ob;
index 0477d2f..4defb0c 100644 (file)
@@ -129,7 +129,7 @@ _create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Da
                                          99999, 99999 /* max */
                                          );
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    ob = e_widget_button_add(evas, _("Add"), "list-add", _cb_add, cfdata, NULL);
    e_widget_table_object_append(ot, ob, 0, 0, 1, 1, 1, 1, 0, 0);
    cfdata->o_delete = e_widget_button_add(evas, _("Delete"), "list-remove",
index f4d5167..8134fcf 100644 (file)
@@ -382,7 +382,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
 
    /* Wallpapers */
    ol = e_widget_list_add(evas, 0, 0);
-   of = e_widget_table_add(evas, 1);
+   of = e_widget_table_add(e_win_evas_win_get(evas), 1);
    rg = e_widget_radio_group_new((int *)&(cfdata->bg_method));
    ow = e_widget_radio_add(evas, _("Theme Defined"),
                            E_DESKLOCK_BACKGROUND_METHOD_THEME_DESKLOCK, rg);
@@ -402,7 +402,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    e_widget_table_object_append(of, ow, 1, 1, 1, 1, 1, 0, 1, 0);
    e_widget_list_object_append(ol, of, 1, 1, 0.5);
 
-   cfdata->gui.o_table = e_widget_table_add(evas, 1);
+   cfdata->gui.o_table = e_widget_table_add(e_win_evas_win_get(evas), 1);
 
    EINA_LIST_FOREACH(e_comp->zones, l, zone)
      {
index 5d6f855..b642e53 100644 (file)
@@ -90,8 +90,8 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
      cfdata->bg = NULL;
 
    rg = e_widget_radio_group_new(&(cfdata->fmdir));
-   ot = e_widget_table_add(evas, 0);
-   rt = e_widget_table_add(evas, 1);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
+   rt = e_widget_table_add(e_win_evas_win_get(evas), 1);
 
    ow = e_widget_radio_add(evas, _("Personal"), 0, rg);
    evas_object_smart_callback_add(ow, "changed", _cb_radio_changed, cfdata);
index 68f9a40..5baf080 100644 (file)
@@ -807,8 +807,8 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
    o = e_widget_list_add(evas, 0, 1);
 
    rg = e_widget_radio_group_new(&(cfdata->fmdir));
-   ot = e_widget_table_add(evas, 0);
-   rt = e_widget_table_add(evas, 1);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
+   rt = e_widget_table_add(e_win_evas_win_get(evas), 1);
 
    ow = e_widget_radio_add(evas, _("Personal"), 0, rg);
    cfdata->o_personal = ow;
@@ -875,7 +875,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
    e_widget_table_object_append(ot, of, 0, 2, 1, 1, 1, 1, 1, 1);
    e_widget_list_object_append(o, ot, 1, 1, 0.0);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    ow = e_widget_check_add(evas, _("Use No Input Method"),
                            &(cfdata->imc_disable));
index 8038aa5..53e8cf3 100644 (file)
@@ -1020,7 +1020,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
 
    cfdata->evas = evas;
    e_dialog_resizable_set(cfd->dia, 1);
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    of = e_widget_framelist_add(evas, _("Language Selector"), 0);
    ob = e_widget_ilist_add(evas, 16, 16, &(cfdata->cur_blang));
    e_widget_size_min_set(ob, 100, 80);
@@ -1110,7 +1110,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
    e_dialog_resizable_set(cfd->dia, 1);
    _intl_current_locale_setup(cfdata);
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    of = e_widget_framelist_add(evas, _("Language Selector"), 1);
 
index 5d355dc..9f7c850 100644 (file)
@@ -281,7 +281,7 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
    
    e_dialog_resizable_set(cfd->dia, 1);
    
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
    
    ol = e_widget_ilist_add(evas, 0, 0, NULL);
    cfdata->gui.list = ol;
index ea918a4..808f772 100644 (file)
@@ -159,7 +159,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
    int i;
 
    e_dialog_resizable_set(cfd->dia, 1);
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    of = e_widget_framelist_add(evas, _("Enlightenment Paths"), 0);
    ob = e_widget_ilist_add(evas, 0, 0, NULL);
index ce0fc8a..4d1b673 100644 (file)
@@ -113,7 +113,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
    rmin = e_widget_radio_group_new((int*) &(cfdata->powersave_min));
    rmax = e_widget_radio_group_new((int*) &(cfdata->powersave_max));
 
-   ol = e_widget_table_add(evas, 0);
+   ol = e_widget_table_add(e_win_evas_win_get(evas), 0);
    
    y = 0;
    ob = e_widget_label_add(evas,
index 89d9e3c..b8de9d0 100644 (file)
@@ -133,7 +133,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
    e_widget_framelist_object_append(of, cfdata->o_list);
    e_widget_list_object_append(ol, of, 1, 1, 0.5);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    cfdata->o_add = ow = e_widget_button_add(evas, _("Add"), "list-add", _cb_add, cfdata, NULL);
    e_widget_table_object_append(ot, ow, 0, 0, 1, 1, 1, 1, 0, 0);
    cfdata->o_delete = e_widget_button_add(evas, _("Delete"), "list-remove",
index 0736ebb..df8d388 100644 (file)
@@ -423,7 +423,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
    cfdata->evas = evas;
 
    e_dialog_resizable_set(cfd->dia, 1);
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    cfdata->gui.class_list = NULL;
 
@@ -638,7 +638,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_
 
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    of = e_widget_frametable_add(evas, _("Font Classes"), 0);
    ob = e_widget_ilist_add(evas, 16, 16, NULL);
    cfdata->gui.class_list = ob;
@@ -688,7 +688,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_
    e_widget_toolbook_page_append(otb, NULL, _("General Settings"),
                                  ot, 1, 1, 1, 1, 0.5, 0.0);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    of = e_widget_frametable_add(evas, _("Hinting"), 0);
    rg = e_widget_radio_group_new(&(cfdata->hinting));
    option_enable = evas_font_hinting_can_hint(evas, EVAS_FONT_HINTING_BYTECODE);
index 3f5699c..d7655ff 100644 (file)
@@ -223,7 +223,7 @@ _basic_create(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data
    int dpi = 0, x = 0, y = 0;
 
    _fill_data(cfdata);
-   o = e_widget_table_add(evas, 1);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 1);
 
 #ifndef HAVE_WAYLAND_ONLY
    dpi = ecore_x_dpi_get();
index c51937b..026bdbe 100644 (file)
@@ -668,9 +668,9 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
    z = e_zone_current_get(e_comp_get(NULL));
    e_dialog_resizable_set(cfd->dia, 1);
 
-   ot = e_widget_table_add(evas, 0);
-   ol = e_widget_table_add(evas, 0);
-   il = e_widget_table_add(evas, 1);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
+   ol = e_widget_table_add(e_win_evas_win_get(evas), 0);
+   il = e_widget_table_add(e_win_evas_win_get(evas), 1);
 
    rg = e_widget_radio_group_new(&(cfdata->fmdir));
    o = e_widget_radio_add(evas, _("Personal"), 0, rg);
index d14901b..59167bd 100644 (file)
@@ -168,7 +168,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
 
    zone = e_zone_current_get(e_comp_get(NULL));
 
-   o = e_widget_table_add(evas, 0);
+   o = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    of = e_widget_framelist_add(evas, _("Events"), 0);
    il = e_widget_ilist_add(evas, 48, 48, NULL);
index ea4ca8a..0e2f4fb 100644 (file)
@@ -416,8 +416,8 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
    o = e_widget_list_add(evas, 0, 1);
 
    rg = e_widget_radio_group_new(&(cfdata->fmdir));
-   ot = e_widget_table_add(evas, 0);
-   rt = e_widget_table_add(evas, 1);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
+   rt = e_widget_table_add(e_win_evas_win_get(evas), 1);
 
    /* create dir radios */
    ow = e_widget_radio_add(evas, _("Personal"), 0, rg);
@@ -461,7 +461,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
    e_widget_table_object_append(ot, ow, 0, 2, 1, 1, 1, 1, 1, 1);
    e_widget_list_object_append(o, ot, 1, 1, 0.0);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    ow = e_widget_check_add(evas, _("Use Theme Wallpaper"),
                            &cfdata->use_theme_bg);
    cfdata->o_theme_bg = ow;
@@ -570,8 +570,8 @@ _adv_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *
    o = e_widget_list_add(evas, 0, 1);
 
    rg = e_widget_radio_group_new(&(cfdata->fmdir));
-   ot = e_widget_table_add(evas, 0);
-   rt = e_widget_table_add(evas, 1);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
+   rt = e_widget_table_add(e_win_evas_win_get(evas), 1);
 
    /* create dir radios */
    ow = e_widget_radio_add(evas, _("Personal"), 0, rg);
@@ -608,7 +608,7 @@ _adv_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data *
    e_widget_table_object_append(ot, ow, 0, 2, 1, 1, 1, 1, 1, 1);
    e_widget_list_object_append(o, ot, 1, 1, 0.0);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    ow = e_widget_check_add(evas, _("Use Theme Wallpaper"),
                            &cfdata->use_theme_bg);
    cfdata->o_theme_bg = ow;
index d80249d..eb5d8a0 100644 (file)
@@ -358,7 +358,7 @@ _create_plugin_page(E_Config_Dialog_Data *cfdata __UNUSED__, Evas *e, Plugin_Pag
    Evas_Object *o, *of, *ob;
    E_Radio_Group *rg;
 
-   ob = e_widget_table_add(e, 0);
+   ob = e_widget_table_add(e_win_evas_win_get(e), 0);
    of = e_widget_frametable_add(e, _("Available Plugins"), 0);
    page->list = e_widget_ilist_add(e, 24, 24, NULL);
    e_widget_on_change_hook_set(page->list, _list_select_cb, page);
@@ -450,7 +450,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *e, E_Config_Dialog
 
    otb = e_widget_toolbook_add(e, 48 * e_scale, 48 * e_scale);
 
-   o = e_widget_table_add(e, 0);
+   o = e_widget_table_add(e_win_evas_win_get(e), 0);
 
    /// GENERAL SETTNGS ///
    of = e_widget_framelist_add(e, _("Default View"), 0);
index ad52054..06c35fb 100644 (file)
@@ -202,7 +202,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
 
    e_widget_toolbook_page_append(otb, NULL, _("Layers"), o, 1, 1, 1, 1, 0.5, 0.0);
    /////////////////////////////////////////////////////////////////////
-   ft = e_widget_table_add(evas, 0);
+   ft = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    //Background mode
    of = e_widget_frametable_add(evas, _("Mode"), 0);
index 7d7b17b..437dc6b 100644 (file)
@@ -110,7 +110,7 @@ _basic_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dial
    e_widget_size_min_set(ol, 140, 140);
    e_widget_frametable_object_append(of, ol, 0, 0, 1, 2, 1, 1, 1, 0);
 
-   ot = e_widget_table_add(evas, 0);
+   ot = e_widget_table_add(e_win_evas_win_get(evas), 0);
    ob = e_widget_button_add(evas, _("Add"), "list-add", _cb_add, cfdata, NULL);
    e_widget_table_object_append(ot, ob, 0, 0, 1, 1, 1, 1, 1, 0);
    ob = e_widget_button_add(evas, _("Delete"), "list-remove", _cb_del, cfdata, NULL);
index 56a35ed..1bf439c 100644 (file)
@@ -224,10 +224,9 @@ _pin_box_add(Lokker_Popup *lp)
                            "e/desklock/pin_box");
    edje_object_part_text_set(lp->login_box, "e.text.title",
                              _("Please enter your PIN"));
-   table = e_table_add(evas);
+   table = elm_table_add(e_win_evas_win_get(evas));
    e_comp_object_util_del_list_append(lp->login_box, table);
-   e_table_homogenous_set(table, 1);
-   e_table_freeze(table);
+   elm_table_homogeneous_set(table, 1);
    for (x = 1; x < 11; x++)
      {
         char buf[8];
@@ -240,9 +239,10 @@ _pin_box_add(Lokker_Popup *lp)
         evas_object_show(o);
         edje_object_signal_callback_add(o, "e,action,click", "*", _pin_click, lp);
         if (x == 10) a = 1;
-        e_table_pack(table, o, a, b, 1, 1);
-        e_table_pack_options_set(o, 1, 1, 0, 0, 0.5, 0.5,
-          48 * e_scale, 48 * e_scale, 48 * e_scale, 48 * e_scale);
+        evas_object_size_hint_min_set(o, 48 * e_scale, 48 * e_scale);
+        evas_object_size_hint_max_set(o, 48 * e_scale, 48 * e_scale);
+        E_FILL(o);
+        elm_table_pack(table, o, a, b, 1, 1);
         if (++a >= 3)
           {
              a = 0;
@@ -262,9 +262,10 @@ _pin_box_add(Lokker_Popup *lp)
    evas_object_show(o2);
    evas_object_show(o);
    edje_object_signal_callback_add(o, "e,action,click", "*", _pin_click, lp);
-   e_table_pack(table, o, 0, 3, 1, 1);
-   e_table_pack_options_set(o, 1, 1, 0, 0, 0.5, 0.5,
-     48 * e_scale, 48 * e_scale, 48 * e_scale, 48 * e_scale);
+   evas_object_size_hint_min_set(o, 48 * e_scale, 48 * e_scale);
+   evas_object_size_hint_max_set(o, 48 * e_scale, 48 * e_scale);
+   E_FILL(o);
+   elm_table_pack(table, o, 0, 3, 1, 1);
 
    /* login */
    o = edje_object_add(evas);
@@ -278,19 +279,13 @@ _pin_box_add(Lokker_Popup *lp)
    evas_object_show(o2);
    evas_object_show(o);
    edje_object_signal_callback_add(o, "e,action,click", "*", _pin_click, lp);
-   e_table_pack(table, o, 2, 3, 1, 1);
-   e_table_pack_options_set(o, 1, 1, 0, 0, 0.5, 0.5,
-     48 * e_scale, 48 * e_scale, 48 * e_scale, 48 * e_scale);
+   evas_object_size_hint_min_set(o, 48 * e_scale, 48 * e_scale);
+   evas_object_size_hint_max_set(o, 48 * e_scale, 48 * e_scale);
+   E_FILL(o);
+   elm_table_pack(table, o, 2, 3, 1, 1);
 
-   e_table_thaw(table);
    evas_object_show(table);
-   e_table_size_min_get(table, &mw, &mh);
-   evas_object_size_hint_min_set(table, mw, mh);
-   evas_object_size_hint_max_set(table, mw, mh);
    edje_object_part_swallow(lp->login_box, "e.swallow.buttons", table);
-   edje_object_size_min_calc(lp->login_box, &mw, &mh);
-   evas_object_size_hint_min_set(lp->login_box, mw, mh);
-   evas_object_size_hint_max_set(lp->login_box, mw, mh);
 }
 
 static void
index f99d5e1..b4151eb 100644 (file)
@@ -345,7 +345,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
 
    e_dialog_resizable_set(cfd->dia, 1);
 
-   cfdata->ui.table = e_widget_table_add(evas, 0);
+   cfdata->ui.table = e_widget_table_add(e_win_evas_win_get(evas), 0);
    _basic_create_general(evas, cfdata);
    _basic_create_cards(evas, cfdata);
    _basic_create_channels(evas, cfdata);
index 77b0172..03f2db5 100644 (file)
@@ -548,7 +548,7 @@ _mixer_popup_new(E_Mixer_Instance *inst)
    inst->popup = e_gadcon_popup_new(inst->gcc, 0);
    evas = e_comp_get(inst->gcc)->evas;
 
-   inst->ui.table = e_widget_table_add(evas, 0);
+   inst->ui.table = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    inst->ui.label = e_widget_label_add(evas, inst->conf->channel_name);
    e_widget_table_object_append(inst->ui.table, inst->ui.label,
index aa07844..e7ad73b 100644 (file)
@@ -180,7 +180,7 @@ packagekit_popup_new(E_PackageKit_Instance *inst)
    inst->popup = e_gadcon_popup_new(inst->gcc, EINA_FALSE);
    evas = e_comp_get(inst->popup)->evas;
 
-   table = e_widget_table_add(evas, 0);
+   table = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    inst->popup_label = e_widget_label_add(evas, NULL);
    e_widget_table_object_append(table, inst->popup_label, 0,0, 1,1, 1,0,1,0);
index 6681862..2a3c97e 100644 (file)
@@ -357,9 +357,9 @@ _pager_new(Evas *evas, E_Zone *zone, E_Gadcon *gc)
    p = E_NEW(Pager, 1);
    p->inst = NULL;
    p->popup = NULL;
-   p->o_table = e_table_add(evas);
+   p->o_table = elm_table_add(e_win_evas_win_get(evas));
    evas_object_event_callback_add(p->o_table, EVAS_CALLBACK_RESIZE, _pager_resize, p);
-   e_table_homogenous_set(p->o_table, 1);
+   elm_table_homogeneous_set(p->o_table, 1);
    p->zone = zone;
    _pager_fill(p, gc);
    pagers = eina_list_append(pagers, p);
@@ -409,7 +409,6 @@ _pager_fill(Pager *p, E_Gadcon *gc)
      }
    e_zone_desk_count_get(p->zone, &(p->xnum), &(p->ynum));
    if (p->ynum != 1) p->invert = EINA_FALSE;
-   e_table_freeze(p->o_table);
    for (x = 0; x < p->xnum; x++)
      {
         for (y = 0; y < p->ynum; y++)
@@ -430,7 +429,6 @@ _pager_fill(Pager *p, E_Gadcon *gc)
                }
           }
      }
-   e_table_thaw(p->o_table);
 }
 
 static void
@@ -471,11 +469,13 @@ _pager_desk_new(Pager *p, E_Desk *desk, int xpos, int ypos, Eina_Bool invert)
      edje_object_signal_emit(o, "e,name,show", "e");
 
    edje_object_size_min_calc(o, &w, &h);
+   evas_object_size_hint_min_set(o, w, h);
+   E_EXPAND(o);
+   E_FILL(o);
    if (invert)
-     e_table_pack(p->o_table, o, ypos, xpos, 1, 1);
+     elm_table_pack(p->o_table, o, ypos, xpos, 1, 1);
    else
-     e_table_pack(p->o_table, o, xpos, ypos, 1, 1);
-   e_table_pack_options_set(o, 1, 1, 1, 1, 0.5, 0.5, w, h, -1, -1);
+     elm_table_pack(p->o_table, o, xpos, ypos, 1, 1);
 
    evo = (Evas_Object *)edje_object_part_object_get(o, "e.eventarea");
    if (!evo) evo = o;
index 5fc3714..b7d3aba 100644 (file)
@@ -306,8 +306,8 @@ _pager_new(Evas *evas, E_Zone *zone, E_Gadcon *gc)
    p = E_NEW(Pager, 1);
    p->inst = NULL;
    p->popup = NULL;
-   p->o_table = e_table_add(evas);
-   e_table_homogenous_set(p->o_table, 1);
+   p->o_table = elm_table_add(e_win_evas_win_get(evas));
+   elm_table_homogeneous_set(p->o_table, 1);
    p->zone = zone;
    _pager_fill(p, gc);
    pagers = eina_list_append(pagers, p);
@@ -356,7 +356,6 @@ _pager_fill(Pager *p, E_Gadcon *gc)
      }
    e_zone_desk_count_get(p->zone, &(p->xnum), &(p->ynum));
    if (p->ynum != 1) p->invert = EINA_FALSE;
-   e_table_freeze(p->o_table);
    for (x = 0; x < p->xnum; x++)
      {
         for (y = 0; y < p->ynum; y++)
@@ -377,7 +376,6 @@ _pager_fill(Pager *p, E_Gadcon *gc)
                }
           }
      }
-   e_table_thaw(p->o_table);
 }
 
 static void
@@ -455,11 +453,13 @@ _pager_desk_new(Pager *p, E_Desk *desk, int xpos, int ypos, Eina_Bool invert)
      }
 
    edje_object_size_min_calc(o, &w, &h);
+   E_EXPAND(o);
+   E_FILL(o);
+   evas_object_size_hint_min_set(o, w, h);
    if (invert)
-     e_table_pack(p->o_table, o, ypos, xpos, 1, 1);
+     elm_table_pack(p->o_table, o, ypos, xpos, 1, 1);
    else
-     e_table_pack(p->o_table, o, xpos, ypos, 1, 1);
-   e_table_pack_options_set(o, 1, 1, 1, 1, 0.5, 0.5, w, h, -1, -1);
+     elm_table_pack(p->o_table, o, xpos, ypos, 1, 1);
 
    evo = (Evas_Object *)edje_object_part_object_get(o, "e.eventarea");
    if (!evo) evo = o;
index 9a749f6..5db0dc1 100644 (file)
@@ -237,7 +237,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_
    int w, h;
 
    e_dialog_resizable_set(cfd->dia, 1);
-   tab = e_widget_table_add(evas, 0);
+   tab = e_widget_table_add(e_win_evas_win_get(evas), 0);
    evas_object_name_set(tab, "dia_table");
 
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
@@ -252,8 +252,7 @@ _advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_
    e_widget_toolbook_page_append(otb, NULL, _("Behavior"), ol, 1, 1, 1, 1, 0.5, 0.5);
 
 /////////////////////////////////////////////////////////////////
-   ol = e_widget_table_add(evas, 0);
-   e_widget_table_freeze(ol);
+   ol = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    cfdata->o_list_entry = ob = e_widget_ilist_add(evas, 0, 0, &cfdata->entry);
    evas_event_freeze(evas_object_evas_get(ob));
@@ -278,12 +277,10 @@ _advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_
    e_widget_table_object_append(ol, ob, 1, 1, 1, 1, 1, 1, 0, 0);
 
 
-   e_widget_table_thaw(ol);
 
    e_widget_toolbook_page_append(otb, NULL, _("Entries"), ol, 1, 1, 1, 1, 0.5, 0.5);
 /////////////////////////////////////////////////////////////////
-   ol = e_widget_table_add(evas, 0);
-   e_widget_table_freeze(ol);
+   ol = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    cfdata->o_list_transient = ob = e_widget_ilist_add(evas, 0, 0, &cfdata->entry);
    evas_event_freeze(evas_object_evas_get(ob));
@@ -307,7 +304,6 @@ _advanced_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_
    ob = e_widget_button_add(evas, _("Delete"), "edit-delete", _list_delete, cfdata, cfdata->o_list_transient);
    e_widget_table_object_append(ol, ob, 1, 1, 1, 1, 1, 1, 0, 0);
 
-   e_widget_table_thaw(ol);
 
    e_widget_toolbook_page_append(otb, NULL, _("Transients"), ol, 1, 1, 1, 1, 0.5, 0.5);
 /////////////////////////////////////////////////////////////////
@@ -326,7 +322,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia
    e_dialog_resizable_set(cfd->dia, 1);
    cfdata->o_list_entry = cfdata->o_list_transient = NULL;
 
-   tab = e_widget_table_add(evas, 0);
+   tab = e_widget_table_add(e_win_evas_win_get(evas), 0);
    evas_object_name_set(tab, "dia_table");
 
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
index ec73bd7..d40ef7b 100644 (file)
@@ -69,7 +69,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED,
 {
    Evas_Object *ob, *ol, *otb, *tab, *oc;
 
-   tab = e_widget_table_add(evas, 0);
+   tab = e_widget_table_add(e_win_evas_win_get(evas), 0);
 
    otb = e_widget_toolbook_add(evas, 48 * e_scale, 48 * e_scale);
 
index 07ccdd0..36b544d 100644 (file)
@@ -297,7 +297,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
    cfdata->used_list = configs;
 
    /* Holds the buttons */
-   buttons = e_widget_table_add(evas, 1);
+   buttons = e_widget_table_add(e_win_evas_win_get(evas), 1);
    cfdata->btn_up = e_widget_button_add(evas, _("Up"), "go-up", _cb_up, cfdata, NULL);
    e_widget_disabled_set(cfdata->btn_up, EINA_TRUE);
    e_widget_table_object_append(buttons, cfdata->btn_up, 0, 0, 1, 1, 1, 1, 1, 0);