summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlliver Schinagl <o.schinagl@ultimaker.com>2015-04-16 05:21:28 (GMT)
committerOlliver Schinagl <o.schinagl@ultimaker.com>2015-04-28 05:07:15 (GMT)
commitcf6e32efedce781367f25cb287b3174787f15419 (patch)
treefa429a6d1a05960908e434427acc55f86d41a470
parent499757150a58d71edd2ada3352e15195aa4609e5 (diff)
downloadeulogium-cf6e32efedce781367f25cb287b3174787f15419.zip
eulogium-cf6e32efedce781367f25cb287b3174787f15419.tar.gz
eulogium-cf6e32efedce781367f25cb287b3174787f15419.tar.bz2
rename resize cb to indicate its for horizontal boxes only
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
-rw-r--r--data/themes/default/default.edc4
-rw-r--r--src/eulogium.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/data/themes/default/default.edc b/data/themes/default/default.edc
index c252840..c1f0d8f 100644
--- a/data/themes/default/default.edc
+++ b/data/themes/default/default.edc
@@ -12,7 +12,7 @@ collections {
// elm
#include "edc/elm/bg.edc"
-//#include "edc/elm/button.edc"
+#include "edc/elm/button.edc"
// XXX: mobile mode needs invisible scrollers... make signals that do this
//#include "edc/elm/scroller.edc"
// XXX: mobile mode needs different entry setup
@@ -58,7 +58,7 @@ collections {
//#include "edc/elm/calendar.edc"
//#include "edc/elm/layout.edc"
//#include "edc/elm/progress.edc"
-//#include "edc/elm/naviframe.edc"
+#include "edc/elm/naviframe.edc"
//#include "edc/elm/panel.edc"
//#include "edc/elm/popup.edc"
//#include "edc/elm/border.edc"
diff --git a/src/eulogium.c b/src/eulogium.c
index c1556e8..34c9a18 100644
--- a/src/eulogium.c
+++ b/src/eulogium.c
@@ -604,7 +604,7 @@ Evas_Object *eulogium_multi_screen_menu(struct eulogium_data *eulogium, Evas_Obj
return eulogium_split_screen(parent, _top, _bottom);;
}
-static void _box_resize_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *box, void *event_info EINA_UNUSED)
+static void _box_hor_resize_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *box, void *event_info EINA_UNUSED)
{
Evas_Coord w, ws, wb;
Eina_List *list, *l;
@@ -645,7 +645,7 @@ Evas_Object *eulogium_tripple_button_menu(Evas_Object *parent, const struct butt
_top = elm_box_add(parent);
elm_box_horizontal_set(_top, EINA_TRUE);
- evas_object_event_callback_add(_top, EVAS_CALLBACK_RESIZE, _box_resize_cb, NULL);
+ evas_object_event_callback_add(_top, EVAS_CALLBACK_RESIZE, _box_hor_resize_cb, NULL);
evas_object_show(_top);
object = elm_button_add(_top);