summaryrefslogtreecommitdiff
path: root/src/bin/ephoto_color.c
diff options
context:
space:
mode:
authorStephen 'Okra' Houston <smhouston88@gmail.com>2017-05-01 13:56:14 -0500
committerStephen 'Okra' Houston <smhouston88@gmail.com>2017-05-01 13:56:14 -0500
commit76a02499ab5c51bf170703a851bb03e6090fd3be (patch)
treeec0577dddecee22188bbc6abcc2acc67f7b0a7ae /src/bin/ephoto_color.c
parent9bdacab76f3f50a988267dd9b0e7b589c99db432 (diff)
Ephoto: Allow resizeable panels, remove checkerboard so that it functions better with themes, add shortcuts for home and root.
Diffstat (limited to 'src/bin/ephoto_color.c')
-rw-r--r--src/bin/ephoto_color.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/ephoto_color.c b/src/bin/ephoto_color.c
index 5d81f52..e6bc6a2 100644
--- a/src/bin/ephoto_color.c
+++ b/src/bin/ephoto_color.c
@@ -272,7 +272,7 @@ _color_apply(void *data, int type EINA_UNUSED,
272 evas_object_image_size_get(eco->image, &w, &h); 272 evas_object_image_size_get(eco->image, &w, &h);
273 ephoto_single_browser_image_data_done(eco->main, image_data, w, h); 273 ephoto_single_browser_image_data_done(eco->main, image_data, w, h);
274 } 274 }
275 ephoto_editor_del(eco->editor); 275 ephoto_editor_del(eco->editor, eco->parent);
276 276
277 return ECORE_CALLBACK_PASS_ON; 277 return ECORE_CALLBACK_PASS_ON;
278} 278}
@@ -291,7 +291,7 @@ _color_cancel(void *data, int type EINA_UNUSED,
291 eco->blue = 0; 291 eco->blue = 0;
292 _red_slider_changed(eco, eco->rslider, NULL); 292 _red_slider_changed(eco, eco->rslider, NULL);
293 ephoto_single_browser_cancel_editing(eco->main); 293 ephoto_single_browser_cancel_editing(eco->main);
294 ephoto_editor_del(eco->editor); 294 ephoto_editor_del(eco->editor, eco->parent);
295 295
296 return ECORE_CALLBACK_PASS_ON; 296 return ECORE_CALLBACK_PASS_ON;
297} 297}
@@ -336,7 +336,7 @@ ephoto_color_add(Ephoto *ephoto, Evas_Object *main, Evas_Object *parent, Evas_Ob
336 memcpy(eco->original_im_data, im_data, 336 memcpy(eco->original_im_data, im_data,
337 sizeof(unsigned int) * eco->w * eco->h); 337 sizeof(unsigned int) * eco->w * eco->h);
338 338
339 eco->editor = ephoto_editor_add(ephoto, _("Adjust Color Levels"), 339 eco->editor = ephoto_editor_add(ephoto, parent, _("Adjust Color Levels"),
340 "eco", eco); 340 "eco", eco);
341 evas_object_event_callback_add(eco->editor, EVAS_CALLBACK_DEL, _editor_del, 341 evas_object_event_callback_add(eco->editor, EVAS_CALLBACK_DEL, _editor_del,
342 eco); 342 eco);