aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_multibuttonentry.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-02 06:20:22 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-02 06:20:22 +0000
commite838d6d2f28c289d83438499dcf5153e724519c2 (patch)
tree7a95d61e19fcc529752fdaf2dcbef260b923d2bc /legacy/elementary/src/bin/test_multibuttonentry.c
parentelementary/datetime - Elm_datetime open source patch : Datetime enhancements (diff)
downloadefl-e838d6d2f28c289d83438499dcf5153e724519c2.tar.gz
Revert a wrong commit. Un-wanted files are committed together.
Revert "elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window." This reverts commit 31b24a0edb0028528d7c859070e03236ba42867b. SVN revision: 69847
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/bin/test_multibuttonentry.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/legacy/elementary/src/bin/test_multibuttonentry.c b/legacy/elementary/src/bin/test_multibuttonentry.c
index d5d983cc12..d530ae9993 100644
--- a/legacy/elementary/src/bin/test_multibuttonentry.c
+++ b/legacy/elementary/src/bin/test_multibuttonentry.c
@@ -199,13 +199,19 @@ test_multibuttonentry(void *data __UNUSED__,
Evas_Object *obj __UNUSED__,
void *event_info __UNUSED__)
{
- Evas_Object *win, *sc, *bx;
+ Evas_Object *win, *bg, *sc, *bx;
Evas_Object *ly;
char buf[PATH_MAX];
- win = elm_win_util_standard_add("multibuttonentry", "MultiButtonEntry");
+ win = elm_win_add(NULL, "Multibuttonentry", ELM_WIN_BASIC);
+ elm_win_title_set(win, "Multibuttonentry");
elm_win_autodel_set(win, EINA_TRUE);
+ bg = elm_bg_add(win);
+ elm_win_resize_object_add(win, bg);
+ evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_show(bg);
+
ly = elm_layout_add(win);
snprintf(buf, sizeof(buf), "%s/objects/multibuttonentry.edj", elm_app_data_dir_get());
elm_layout_file_set(ly, buf, "multibuttonentry_test");