summaryrefslogtreecommitdiff
path: root/src/bin/e_bg.h
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2009-12-18 22:20:08 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2009-12-18 22:20:08 +0000
commit0900c11347963f8045d97176ef969d61321f0450 (patch)
tree2ed239dd174be69ead8cee5406d0f4cf698f0e52 /src/bin/e_bg.h
parentb1734750c9fd25aa4da8bfdd6c79209fa23f9363 (diff)
'Set as background' mime handler moved to core, refactored.
* Remove 'Set as background' from conf_wallpaper and add it to e_bg together with the other code that already was handling '*.edj'. This makes more sense and will enable the action in presence of both versions of wallpaper dialog; * e_utils got pieces required by e_bg that could be used elsewhere, one is the dialog to query for options to import, the other is what really generates the conversion (import) of image->edj. * conf_wallpaper: import thing is way too messy, needs cleaning or removal. I don't care much about it as I plan to improve wallpaper2 instead. SVN revision: 44556
Diffstat (limited to 'src/bin/e_bg.h')
-rw-r--r--src/bin/e_bg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/e_bg.h b/src/bin/e_bg.h
index 319cbab..98d4401 100644
--- a/src/bin/e_bg.h
+++ b/src/bin/e_bg.h
@@ -12,7 +12,7 @@ typedef enum {
12 12
13typedef struct _E_Event_Bg_Update E_Event_Bg_Update; 13typedef struct _E_Event_Bg_Update E_Event_Bg_Update;
14 14
15typedef struct _E_Bg_Image_Import E_Bg_Image_Import; 15typedef struct _E_Bg_Image_Import_Handle E_Bg_Image_Import_Handle;
16 16
17#else 17#else
18#ifndef E_BG_H 18#ifndef E_BG_H
@@ -42,7 +42,8 @@ EAPI void e_bg_update(void);
42EAPI void e_bg_handler_set(Evas_Object *obj, const char *path, void *data); 42EAPI void e_bg_handler_set(Evas_Object *obj, const char *path, void *data);
43EAPI int e_bg_handler_test(Evas_Object *obj, const char *path, void *data); 43EAPI int e_bg_handler_test(Evas_Object *obj, const char *path, void *data);
44 44
45EAPI E_Bg_Image_Import *e_bg_image_import_new(const char *image_file, void (*cb)(void *data, const char *edje_file), const void *data); 45EAPI E_Bg_Image_Import_Handle *e_bg_image_import_new(const char *image_file, void (*cb)(void *data, const char *edje_file), const void *data);
46EAPI void e_bg_image_import_cancel(E_Bg_Image_Import_Handle *handle);
46 47
47#endif 48#endif
48#endif 49#endif