summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog4
-rw-r--r--NEWS1
-rw-r--r--src/bin/e_utils.c13
3 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index aa49380e7..f5c020cec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12013-02-19 Mike Blumenkrantz
2
3 * e_util_size_debug_set now displays delete events
4
12013-02-18 Mike Blumenkrantz 52013-02-18 Mike Blumenkrantz
2 6
3 * fixed disable of input methods in input method config dialog 7 * fixed disable of input methods in input method config dialog
diff --git a/NEWS b/NEWS
index b3e3af227..e3f16dabe 100644
--- a/NEWS
+++ b/NEWS
@@ -111,6 +111,7 @@ Improvements:
111 * e_gadcon_unpopulate now correctly freezes the container while deleting gadgets 111 * e_gadcon_unpopulate now correctly freezes the container while deleting gadgets
112 * e_popup is now a wrapper for drawing objects onto the compositor canvas 112 * e_popup is now a wrapper for drawing objects onto the compositor canvas
113 * compositor nocomp mode now dynamically enables/disables based on the state and stacking of fullscreen windows and comp objects 113 * compositor nocomp mode now dynamically enables/disables based on the state and stacking of fullscreen windows and comp objects
114 * e_util_size_debug_set now displays delete events
114 115
115Fixes: 116Fixes:
116 * IBar menu didn't allow to configure different icon sources, show contents menu even on empty IBar. 117 * IBar menu didn't allow to configure different icon sources, show contents menu even on empty IBar.
diff --git a/src/bin/e_utils.c b/src/bin/e_utils.c
index 91d3f31cd..93b7ed584 100644
--- a/src/bin/e_utils.c
+++ b/src/bin/e_utils.c
@@ -1323,6 +1323,15 @@ e_util_time_str_get(long int seconds)
1323} 1323}
1324 1324
1325static void 1325static void
1326_e_util_size_debug_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
1327{
1328 int x, y, w, h;
1329
1330 evas_object_geometry_get(obj, &x, &y, &w, &h);
1331 fprintf(stderr, "DEL %s OBJ[%p]: (%d,%d) - %dx%d\n", evas_object_visible_get(obj) ? "VIS" : "HID", obj, x, y, w, h);
1332}
1333
1334static void
1326_e_util_size_debug(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__) 1335_e_util_size_debug(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
1327{ 1336{
1328 int x, y, w, h; 1337 int x, y, w, h;
@@ -1344,6 +1353,8 @@ e_util_size_debug_set(Evas_Object *obj, Eina_Bool enable)
1344 _e_util_size_debug, NULL); 1353 _e_util_size_debug, NULL);
1345 evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE, 1354 evas_object_event_callback_add(obj, EVAS_CALLBACK_HIDE,
1346 _e_util_size_debug, NULL); 1355 _e_util_size_debug, NULL);
1356 evas_object_event_callback_add(obj, EVAS_CALLBACK_DEL,
1357 _e_util_size_debug_del, NULL);
1347 } 1358 }
1348 else 1359 else
1349 { 1360 {
@@ -1355,6 +1366,8 @@ e_util_size_debug_set(Evas_Object *obj, Eina_Bool enable)
1355 _e_util_size_debug, NULL); 1366 _e_util_size_debug, NULL);
1356 evas_object_event_callback_del_full(obj, EVAS_CALLBACK_HIDE, 1367 evas_object_event_callback_del_full(obj, EVAS_CALLBACK_HIDE,
1357 _e_util_size_debug, NULL); 1368 _e_util_size_debug, NULL);
1369 evas_object_event_callback_del_full(obj, EVAS_CALLBACK_DEL,
1370 _e_util_size_debug_del, NULL);
1358 } 1371 }
1359} 1372}
1360 1373