aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/ephoto_main.c2
-rw-r--r--src/bin/ephoto_slideshow.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/ephoto_main.c b/src/bin/ephoto_main.c
index 0dcea9f..9b5e6ed 100644
--- a/src/bin/ephoto_main.c
+++ b/src/bin/ephoto_main.c
@@ -400,7 +400,7 @@ ephoto_window_add(const char *path, int gadget)
ephoto->win = elm_win_add(NULL, "ephoto", ELM_WIN_BASIC);
elm_win_title_set(ephoto->win, "Ephoto");
elm_win_alpha_set(ephoto->win, 1);
- evas_object_size_hint_aspect_set(ephoto->win, EVAS_ASPECT_CONTROL_BOTH, 1, 1);
+ evas_object_size_hint_aspect_set(ephoto->win, EVAS_ASPECT_CONTROL_BOTH, 1,1);
}
if (!ephoto->win)
{
diff --git a/src/bin/ephoto_slideshow.c b/src/bin/ephoto_slideshow.c
index 0d0929a..fd57277 100644
--- a/src/bin/ephoto_slideshow.c
+++ b/src/bin/ephoto_slideshow.c
@@ -418,6 +418,8 @@ _slideshow_item_get(Ephoto_Slideshow *ss, Ephoto_Entry *entry, Evas_Object *pare
layout = elm_layout_add(parent);
elm_layout_file_set(layout, PACKAGE_DATA_DIR "/themes/ephoto.edj",
"ephoto,slideshow,item");
+ if (ss->ephoto->gadget)
+ elm_layout_signal_emit(layout, "gadget", "ephoto");
EPHOTO_EXPAND(layout);
EPHOTO_FILL(layout);
evas_object_data_set(layout, "entry", entry);
@@ -1076,6 +1078,8 @@ ephoto_slideshow_add(Ephoto *ephoto, Evas_Object *parent)
elm_layout_file_set(slideshow, PACKAGE_DATA_DIR "/themes/ephoto.edj",
"ephoto,slideshow,base");
+ if (ephoto->gadget)
+ elm_layout_signal_emit(slideshow, "gadget", "ephoto");
evas_object_event_callback_add(slideshow, EVAS_CALLBACK_DEL, _slideshow_del,
ss);
if (!ephoto->gadget)