summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-12-30 11:08:47 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-12-30 11:08:47 -0500
commit25731f84da4f9f7a43065d9ed14ed2d0be8bf30c (patch)
tree532bffb940c5228b3800bd1aad93dee8b45cbe8a /src/bin
parent8fefb6f099ef1f6430d1bf093ad189b72b2d9d86 (diff)
efl_ui_progressbar: remove pulse_mode
Summary: pulse_mode is now implicit with pulse, if you set the progressbar to pulse, the state is internally adjusted in a way that the theme is put into the correct state. Legacy is not impacted by this because of the previous commit. ref T8501 Depends on D10941 Reviewers: cedric, woohyun, zmike, segfaultxavi Reviewed By: zmike, segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8501 Differential Revision: https://phab.enlightenment.org/D10942
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_part_shadow.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bin/elementary/test_part_shadow.c b/src/bin/elementary/test_part_shadow.c
index c8e0f18..dd6f388 100644
--- a/src/bin/elementary/test_part_shadow.c
+++ b/src/bin/elementary/test_part_shadow.c
@@ -96,7 +96,6 @@ test_part_shadow(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
96 96
97 pb = efl_add(EFL_UI_PROGRESSBAR_CLASS, win); 97 pb = efl_add(EFL_UI_PROGRESSBAR_CLASS, win);
98 efl_gfx_hint_weight_set(pb, EFL_GFX_HINT_EXPAND, 0); 98 efl_gfx_hint_weight_set(pb, EFL_GFX_HINT_EXPAND, 0);
99 efl_ui_progressbar_pulse_mode_set(pb, EINA_TRUE);
100 efl_pack(bx, pb); 99 efl_pack(bx, pb);
101 td->pb1 = pb; 100 td->pb1 = pb;
102 101
@@ -122,7 +121,6 @@ test_part_shadow(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
122 efl_unref(shadow); 121 efl_unref(shadow);
123 122
124 pb = efl_add(EFL_UI_PROGRESSBAR_CLASS, win); 123 pb = efl_add(EFL_UI_PROGRESSBAR_CLASS, win);
125 efl_ui_progressbar_pulse_mode_set(pb, EINA_TRUE);
126 efl_gfx_hint_weight_set(pb, EFL_GFX_HINT_EXPAND, 0); 124 efl_gfx_hint_weight_set(pb, EFL_GFX_HINT_EXPAND, 0);
127 efl_pack(bx, pb); 125 efl_pack(bx, pb);
128 td->pb4 = pb; 126 td->pb4 = pb;
@@ -150,7 +148,6 @@ test_part_shadow(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
150 // FIXME: Needs wheel progressbar class 148 // FIXME: Needs wheel progressbar class
151 pb = efl_add(EFL_UI_PROGRESSBAR_CLASS, win, 149 pb = efl_add(EFL_UI_PROGRESSBAR_CLASS, win,
152 efl_ui_widget_style_set(efl_added, "wheel")); 150 efl_ui_widget_style_set(efl_added, "wheel"));
153 efl_ui_progressbar_pulse_mode_set(pb, EINA_TRUE);
154 efl_pack(hbx, pb); 151 efl_pack(hbx, pb);
155 td->pb2 = pb; 152 td->pb2 = pb;
156 153
@@ -163,7 +160,6 @@ test_part_shadow(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
163 160
164 pb = efl_add(EFL_UI_PROGRESSBAR_CLASS, win, 161 pb = efl_add(EFL_UI_PROGRESSBAR_CLASS, win,
165 efl_ui_widget_style_set(efl_added, "wheel")); 162 efl_ui_widget_style_set(efl_added, "wheel"));
166 efl_ui_progressbar_pulse_mode_set(pb, EINA_TRUE);
167 efl_pack(hbx, pb); 163 efl_pack(hbx, pb);
168 td->pb3 = pb; 164 td->pb3 = pb;
169 165